🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17772

The page number of an xml element

#17772
From: reyman
Date: Fri, 16 May 2003 08:45
16 lines
1172 bytes
I try to know the number of the page where is placed an xml element.

What should I write to know that??

tryes the following sentences but it failed :

Dim texte As InDesign.Text
Dim texte_frame As InDesign.TextFrame
Dim page As InDesign.Page
Dim num_page As String
texte = MyXMLElement.AssociatedObject
texte_frame = texte.ParentTextFrame
page = texte_frame.Parent (mistake here)
num_page = page.index.ToString

Thanks in advance
Technical Details
Message-ID: <1de92598.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,767078b88bea9074,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-16 02:08:17 PST
From: reyman <reyman23@caramail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: The page number of an xml element
Message-ID: <1de92598.-1@WebX.la2eafNXanI>
Date: Fri, 16 May 2003 01:45:42 -0700
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit