Applescript - Untag all XML tags after importing.

Have the following which works to untag 1 xml tag at a time but we'd like to untag everything if possible.  We could loop through if needed but don't know how to get total number of elements so we know how many times to loop.  We currently just put value greater than will ever be with try so it works but wondering if there is an easier way?    Is there a tell every or something like that?   Thanks, Joe
set myXMLElement to XML element 1 of XML element 1 of myDocument
tell myXMLElement to untag

Found something that should work.
untag (every XML element of XML element 1 if myDocument)

Similar Messages

  • All clips missing after import from camcorder!

    All clips are missing after import from camcorder - Canon ZR20.  For some tapes all clips are there, for others there are none.  All the files are there in the finder, but I don't know how to have them show up in Final Cut Pro X.
    Any suggestions?

    Ok - this is frustrating.  I have been importing my old miniDV tapes again into FCPX as I wasn't able to transfer all of these projects from iMovie - don't get me started...  After importing about 7 of the tapes the first 3 came in fine, but the last 4 didn't have any clips as I said in my original posting.  Now after restarting FCPX a couple of times all of a sudden the clips are all coming in!  Strange!  Guess I'm OK now.

  • How to get all xml tags in a text frame?

    I want to get all the xml tags of the text in a text frame. I had tried the following methods but always get the tag binding the frame itself. <br /><br />1) XMLReference objXMLRef = Utils<IXMLUtils>()->QueryXMLReferenceData(textModel, 1);<br /><br />2) XMLReference objXMLRef = Utils<IXMLUtils>()->GetStoryThreadXMLReference(textModel, textIndex);<br /><br />Thanks in advance.

    I would think if you intanciate the XMLReference and use IIDXMLElement GetChildCount / GetNthChild would do what you are looking for.
    Ian

  • Where are all the photos after import?

    I don't know where to begin. iPhoto has gotten worse and worse over the years, but unfortunately I have tens of thousands of photos in it going back decades.
    The tipping point for me was after photo streams and extra syncing was added to iOS 5. After importing to iPhoto I simply don't know where all my photos are anymore.
    The import process itself is all funny. Sometimes it seems to just import the photo stream - which doesn't include videos.
    Sometimes it will import everything if I press Import again, but the numbers don't match the numbers of photos on my iPhone.
    If I check latest import it doesn't match what was just imported.
    If I select to delete photos on my iPhone after import it deletes some but not all of them.
    I don't have any confidence anymore that the photos imported. And organizing them - forget about it. It's the worse mess I've ever seen. I can't find anything anymore.
    It definitely doesn't "just work."
    I would like to clear out the photos on my iPhone 4 because the camera has gotten slow and I read somewhere that having too many photos in the camera roll can slow down the camera operation itself. Is that true? That would be sort of dumb if true because the only way of making albums directly on your iPhone is to leave the original photos in the camera roll.
    Is there anything better than iPhone I can use to organize all my photos?
    Thanks,
    doug

    Well, I do like that Photostream syncs between my iPhone and iPad. What I don't understand is why the import into iPhone seems to sometimes have just Photostream events and then separately events sorted by date, but without the items that were imported into Photostream events.
    Rather than turn off Photostream altogether, what would be nice is if I could just turn it off in iWeb. Is that possible?
    I'm sorry my "finding and organizing" complaint sounds vague. It's hard to explain clearly because everything is so convoluted in iPhoto now.
    Basically, it used to be that
    (1) I could import and everything would be broken up into events by date;
    (2) I could delete from my iPhone after import and everything would be deleted.
    But (1) is not happening reliably. And neither is (2).
    I just want to be able to organize my photos and find them. Even finding them in the current version of iPhoto got harder than it was in the previous version of iPhoto. It's just become a really confusing mess of a piece of software to use.
    Right now the immediate problem, to attempt to be clearer, is that my imported photos and movies are not broken down by date-delimited events. The problem seems to be related to Photostream imports which confuse the normal event grouping process.
    Thanks,
    doug

  • Edit Payload XML Tag after mapping in cleanUp?

    Hello experts,
    I've created a 1:N multi mapping with the graphical mapping and now the receiver system has a problem with a string within a tag in the payload which should be renamed from "request1" to "request".
    I think I need something like
    payload.replaceAll("request1","request");
    but I don't know if this is possible in the cleanUp section of the graphical mapping.
    As I have to use plain html adapter I can't use any adapter modules.
    Best Regards,
    Richard

    Hi Stefan!
    You could use a Java mapping after the graphical mapping to replace the node names.
    How can this be done (doing a Java mapping after graphical mapping)?
    I read about a similar problem here where namespaces were removed:
    [delete namespace and prefix with Seeburger X.400 receiver;
    Would it be possible to do use two different mappings instead of of a multimapping?
    I guess this would be the easiest way but as it's not clear up to now if the sending system will provide a file interface or a http call (both systems - sender, receiver - are no SAP Systems). If it'll be a file this file could easy be read a second time but if it's provided via http this will not be possible (as far as I know ..).
    BR,
    Richard

  • How to merge all parts of a variable without losing xml tags?

    Hi
    In my Bpel process I have I invoke an operation whose output variable is a multi-part variable. Due to some requirements , I need to merge the data from all the parts (without removing the XML tags) and return them in a single part Bpel output variable. So I'm using the below expression in the copy rule:
    concat(concat(concat(concat(concat('<body>',bpws:getVariableData('Function_OutputVariable','body')),'</body>'),
    '<header>'),bpws:getVariableData('Function_OutputVariable','header')),'</header>')
    But the resultant value (the culprit is getVariableData) is deprived of all xml tags in the output parts. For example if my operation output variable is of 2 parts as ::
    <Function_OutputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="body">
    <Function_Response_body xmlns:oans="http://xmlns.oracle.com/apps/fnd/rep/ws" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Return>
    <InterfaceFunction>
    <FunctionId>1024976</FunctionId>
    </InterfaceFunction>
    </Return>
    </oans:Function_Response_body>
    </part>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="header">
    <Function_Response_header xmlns:oans="http://xmlns.oracle.com/apps/fnd/rep/ws" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    Blah
    </oans:Function_Response_header>
    </part>
    </Function_OutputVariable>
    My resultant expression becomes
    <body> 1024976 SERVICEBEAN:/oracle/apps/fnd/rep/ws/IntegrationRepositoryService:getInterfaceFunction INTERFACE get InterfaceFunction Gets a InterfaceFunction based on its primary key attributes. NONE RESP getInterfaceFunction 1 PUBLIC ACTIVE R2V0cyBhIEludGVyZmFjZUZ1bmN0aW9uIGJhc2VkIG9uIGl0cyBwcmltYXJ5IGtleSBhdHRy aWJ1dGVz S S 509 </body>
    <header> blah </header>
    How to avoid this problem? Please advice.
    thanks,
    kannan

    iPhoto Library Manager  is the only application available that can merge libraries and keep albums as well as keywords, comments, places and other meta data.    Keepsakes like books and slideshows will come across as albums.
    The following is from the iPLM help file:
    What can and can't be copied
    Due to technical limitations with iPhoto, not every type of item in an iPhoto library can be copied to another library. The table below summarized what can and can't be copied in each version of iPhoto, with more details explanations of each item below. This applies to copying albums and events between libraries via drag and drop, merging libraries, and rebuilding a library.
    iPhoto 6 or earlier
    iPhoto 7
    iPhoto 8
    iPhoto 9
    Photos with basic metadata (rating, keywords, date, description, title)
    Unsupported
    Yes
    Yes
    Yes
    Modified versions of photos paired with originals
    Unsupported
    Yes
    Yes
    Yes
    Individual photo edits (e.g. cropping, filters, color adjustments, etc.)
    Unsupported
    No
    Yes
    Yes
    Places data
    Unsupported
    n/a
    Yes
    Yes
    Faces data
    Unsupported
    n/a
    Yes
    Yes
    Regular albums
    Unsupported
    Yes
    Yes
    Yes
    Folder albums
    Unsupported
    Yes
    Yes
    Yes
    Smart albums
    Unsupported
    Yes
    Yes
    Yes
    Events
    Unsupported
    Yes
    Yes
    Yes
    Keepsake items (books, slideshows, etc.)
    Unsupported
    No
    No
    No
    MobileMe galleries
    Unsupported
    iPhoto auto-syncs
    iPhoto auto-syncs
    iPhoto auto-syncs
    Facebook/Flickr galleries
    Unsupported
    n/a
    No
    iPhoto auto-syncs
    OT

  • [CS3 JS] How to associate text with an XML tag

    Hello,
    I have a script that allows one to create or modify an XML tag after one selects text, a text frame or an existing XML tag. It works fine for making the XML tag but it does not associate the text or text frame to the tag. To do that I have to right click on the selection and use the context menu to Tag Text or Tag Frame.
    I want to make this automatic but cannot see how to script it.
    Thanks for any help

    I figured out the problem (which of course creates other interesting problems).
    In the line:
    var elementRef = rootElement.xmlElements.add (tagRef);
    I forgot to add a reference to the xmlContent. It should read:
    var elementRef = rootElement.xmlElements.add (tagRef, whatToTag);
    However, this script is designed to create a dialog box where one can either create a tag along with attributes or edit an existing one. I'll post it when I am done, but there is one hangup. The script not only changes the name of a selected xml tag but all tags with the same name. How can I get it to change only the selected tag? Below is the boiled down script that duplicates that problem.
    Thanks,
    Tom
    var myDoc = app.activeDocument;
    var selObj = app.selection[0];
    var TagIWantToChange = selObj.markupTag;
    var newTagName = "PleaseWork"; //This line replaces all the coding to create a dialog box where the tag name could be edited.
    TagIWantToChange.name = newTagName;

  • Checking .txt file with valid XML tags

    hey guys,
    I've a .txt file which conatins info with XML tags. I've to check whether the file contains valid tags or not!
    a tag should start with "<" and end with ">", there shouldn't be space between characters after "<" e.g.
    a tag should be like "<name>" or "</name>" not "< name>" or  "< /name>" nor "<name" or "</name"nor "name>" or  "/name>"Here is an example of a well formed XML document:
    <root>
    Some text <nextTag> more text  <secondTag> stuff </secondTag> </nextTag> more text again
    </root>Here is an example of XML .txt file:
    <students >
         <student>
              <name> John </name>
              <name> Doe </name>
              <address> 98 Pine St.</address>
         </stdnt>
    </students>I also have to make sure that no text appears before and after the root tag! Please help me, i'm trying to figure out but my alogrithm just doesn't work! Thanks in advance!!!

    What's the purpose of those requirements? If you
    wanted to check whether the file was well-formed XML
    then you would just need to run it through an XML
    parser. But some of the things you plan to reject are
    actually well-formed XML. I don't see the point of
    that.basically, it's my assignment. In the assignment our task is to check the .txt files to make sure that all XML tags are valid. The problems i mentioned in my first post, i've figured those out, eventually. There're few other things which i've to also make sure for example no text appearing before and after the root tag
    Can someone please tell me how i can check following cases:
    text<root> or </root> text  (both are invalid XML files)

  • Canon XML tags lost or just hidden?

    I'm using Aperture to catalog JPEGs taken with a Canon 2S IS. It seems not all of Canon's XML tags are imported. I can see all the info in Canon's own Image Browser software, but not in Aperture. Color balance, ASA and things like that seem to get lost in the translation.
    I remember reading somewhere awhile ago that Canon doesn't use standard XML fields. Is that true? And if so, can't Apple just import all extraneous XML data into random unnamed fields that the user can then tag?
    Is this data really in Aperture and I just can't find it, or is it not imported because it doesn't match what Apple expects to find?
    Thanks for any tips.
    1.25 gHz G4 Powerbook w/ 1 gig RAM   Mac OS X (10.4.6)  

    Is that camera officially supported?

  • JSP1.1 - XML Tags

              Hi,
              I tried to convert some of my JSPs to the full XML way, using <jsp:root xmlns:jsp ....> and so on to describe all scriptlets, declartives etc via this "nice" xml way.
              Problem:
              When i include a xmlns:mytaglib="/somtag" in the root element, as decribed in sun spec, the taglib extenstion was not recognized any more -> no error, but as well, no content from the Taglib. ( the old <%@ taglib uri=".." prefix=".." %> still works.
              Maybe i did some namespace error ?? Could you please comment on
              - what's the excat namespace supported in wls for <jsp:root ...
              - DTD name (DOCTYPE declaration )
              - supports wls fully all xml tags from the sun spec
              - are there known problems in the current beta ?
              Thanks,
              Paul
              

    Something to that effect yes. I have been using the community ID's and Home Page ID's to keep track of what data for my portlets goes where. Normally this wouldnt be an issue since your data would be differt between the various instances of the portal (dev, test, production) but we have a strange situation currently where we dont have enought rack space to put up all of our servers for the portal. So the only instances we have up is a "sandbox" of types to facilate new tests of code and UI changes, and a "Dev / Production" instance. We are building this Dev instance up with content items and communities and we plan on moving it completely to the Production instances when our servers get racked (as it where). So, I"m concern that data items wont transfer over during the mirgation.Regards,Ray SimpsonSenior Portal DeveloperApollo Group Inc.

  • No monitor profile available. Yellow tint after import

    Hello. I have bough last week a new Toshiba notebook which has Windows 8.1 preinstalled on it.
    I have noticed a problem that seems other came also on the same issue. When i watch images on a non profile managed software, the images look fine. Once i import them on Lightroom or Photoshop, the images get a yellow tint.
    The problem and a possible solution is also described here: http://photography-on-the.net/forum/showthread.php?t=1164320 . This is setting the sRGB as a monitor profile. I know this is not a great solution, but surely better than what i see on my monitor. In any way, this unfortunately this did not work for me.
    This is what i mean with the yellow tint (left Lightroom, right Irfan)
    Today i tried following:
    Step 1
    The image is in RAW format. I import it in Lightroom and gets that yellow tint i described.
    I export it with sRGB in jpg format. The jpg file has still that yellow tint.  Please note here, that others that report similar problems, they mention that after the export they image looks again fine.
    Step 2
    I open the RAW image with Irfan (not color managed) and save it as jpg. The image is saved "correctly", as you see on the right side of the image above.
    Step 3
    I import the exported jpeg that was created with Irfan and import it to Lightroom.
    The yellow Tint now does not appear on the imported JPEG.
    One more tip i can give is: When i do a Soft proofing on Lightroom and choose sRGB i still see that yellow tint.
    What exactly is happening ? I try to identify the problem. Why i see just raw images with this yellow tint, no matter the profile i set for my monitor and no matter the proofing options on lightroom.
    I don't want to spend 100+ euro for a calibration device and not being able to use the profiles.
    Any suggestions for further testing ?

    First - Irfanview needs to be at least IV 4.35 and needs to have the LCMS.DLL plug-in installed as well as having the Color Management enabled so that you have some chance of your Photoshop and IrfanView versions of an image matching:
    Alright we have the first conflict here.
    I have the latest IrfanView version (4.37) , i saw that the Lcms.dll exists in the plugin list, and i have set the settings as suggested.
    Furthermore at the moment i have sRGB as my default monitor profile. Still this is how i see things.
    IrfanView and Photoshop have the same difference as before. Yes i have rerasted IrfanView on every change. I actually freshly installed also the latest irfanView version with its plugin.
    Photoshop - Irfan Side by Side
    Monitor Profile Settings 1
    Monitor Profile Settings 2
    IrfanView Settings
    About this
    As you can see the Adobe default processing with the Adobe Standard profile, at top left, is a little greenish.  This is compared to the default camera processing as viewed in the camera-embedded preview jpg from the CR2 at the bottom right which a white frame around it.
    When i open the raw image on LR, i have (from what i can see on my monitor) the same results as your Adobe default processing (Top left) . What confused me on your image above is bottom left image "Adobe processing - Camera standard". What is with Adobe processing meant here? The camera profile? If yes then how can we have Adobe camera profil but also camera standart ? If you mean the process LR provides, mine is set on 2012. But no adobe available for selection. I do not know if this is meant though.
    Here is my comparison between Adobe Standart Profile and Camera Standard.
    LR: Adobe Profile vs Canon Standart Profile
    One more comparison is of the files you made available including the IranView jpg you supplied as compared to the Canon JPG preview that I extracted from the CR2 file:
    What you can see is that the CR2 as viewed in LR and LR's exported JPG of that CR2 look about the same (top and bottom left), and the IrfanView and Canon-JPG versions of the CR2 look the same (top and bottom right).  This is your IV version of the JPG, not something I made, but I expect IV has just extracted the camera-embedded fullsize preview JPG from the CR2 file just like I did using a different tool, so they look the same, but it is possible your IV is using a Canon-specific plug-in that uses the Canon-supplied SDK library DLLs that can also duplicate Canon processing.  I only have the Formats.dll and the CRW.dll but not all the extra SDK DLLs so I expect my IV is only extracting the camera-embedded preview JPG.
    Yes i can confirm that also on my environment. The exported CR2 from LR matches the  exported JPG as also there is a match between IrfanView CR2 with the Camera standard profile export. Unfortunately i cannot confirm if IrfanView uses a sort of Canon-plugin to make the RAWS rendered automatically with the Canon standard profile.
    And if you want your Adobe treatment of CR2 files to look much more similar to your camera's treatment, then use the Camera Standard profile in Lightroom and the PS ACR plug-in.
    Question on this. Should i always put a Camera Standart profile on all my images after importing them on LR ?
    Also please, let me know what you meant with Adobe Processing. I searched on the web with "Adobe Processing lightroom" , but i could not understand what is meant.
    If using the Camera Standard profile doesn't make things look almost the same, then please post a side-by-side of LR's view of the CR2 and IrfanView's JPG extracted from the CR2--what you've linked to, just above.
    Here is a comparison between an exported JPG from Lightrom with camera profile (Right) compared to an exported JPG with IrfanView from the RAW (left). As mentioned before the images look identical, with the one exported from LR with Camera profile being a bit more vibrant. But not much of a difference.
    IrfanView vs Camera Profile export
    So in the end it seems you see also that green-yellowish cast on the RAW image. From what i see on the screenshots you made.
    The question now is why i do not see RAW the same as Adobe software ? Could i do this test with an other viewer?
    To summerize from my side as well. A monitor calibration is surely good to do. On the other side the cast i see on the RAW in this case has not to do with the profile but rather with Adone profile and the way this image was captured.
    PS. I must admit that is one of the best on line support i have ever seen. Thumbs up ssprengel !

  • Newbie trying to analyze code for xml tags

    My problem is that I need to find what xml tags my java files contain. Is there a way to run a search and pull out all xml tags? Thank you.

    you mean you have to find xml tags in .java file. you have to write a program that will read the contents of file and then check for any string that contains < and ends with >. U can use LineNumberReader class for reading a line. besides these u have to take care of comments.
    Regards,
    Gurpreet

  • I am not getting required output after importing xml file having HTML tags, MathML and Latex code

    I created well formatted xml having html tags, MathML code and Latex code inside
    XML with sample latex
    <question>
        <p> 8. In this problem, <Image  style="vertical-align: -9pt" title="5a\frac{7b}{3}" alt="5a\frac{7b}{3}" href="http://www.snapwiz.com/cgi-bin/mathtex.cgi?%205a%5Cfrac%7B7b%7D%7B3%7D%0A"></Image> and <Image href="http://www.snapwiz.com/cgi-bin/mathtex.cgi?%207b%5Cfrac%7B5a%7D%7B3%7D" style="vertical-align: -9pt" title="7b\frac{5a}{3}" alt="7b\frac{5a}{3}"> </Image>are both mixed numbers, like <Image src="http://www.snapwiz.com/cgi-bin/mathtex.cgi?%203%20%5Cfrac%7B1%7D%7B2%7D%20=%203.5" style="vertical-align: -9pt" title="3 \frac{1}{2} = 3.5" alt="3 \frac{1}{2} = 3.5"></Image>. The expression <Image style="vertical-align: -9pt" title="5a \frac{7b}{3} \ \times 7b \frac{5a}{3}" alt="5a \frac{7b}{3} \ \times 7b \frac{5a}{3}" href="http://www.snapwiz.com/cgi-bin/mathtex.cgi?%205a%20%5Cfrac%7B7b%7D%7B3%7D%20%5C%20%5Ctimes %207b%20%5Cfrac%7B5a%7D%7B3%7D"> </Image>is equal to which of the following choices? </p>
    </question>
    XML with sample html tags
    <p>4. Examine the expression 3<i>k</i><sup>2</sup> + 6<i>k</i> - 5 + 6<i>k</i><sup>2</sup> + 2.</p><p>When it is simplified, which of the following is the equivalent expression?</p>
    XML with sample MathML tags
    <p>5. Find the vertex of the parabola associated with the quadratic function <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi><mo> </mo><mo>=</mo><mo> </mo><mo>-</mo><msup><mi>x</mi><mn>2</mn></msup><mo> </mo><mo>+</mo><mo> </mo><mn>10</mn><mi>x</mi><mo> </mo><mo>+</mo><mo> </mo><mn>4</mn></math></p>
        <math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mrow><mo>-</mo><mn>5</mn><mo>,</mo><mo> </mo><mn>69</mn></mrow></mfenced></math><br>
        <math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mrow><mn>5</mn><mo>,</mo><mo> </mo><mn>29</mn></mrow></mfenced></math><br>
        <math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mrow><mn>5</mn><mo>,</mo><mo> </mo><mn>69</mn></mrow></mfenced></math><br>
        <math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mrow><mo>-</mo><mn>5</mn><mo>,</mo><mo> </mo><mn>29</mn></mrow></mfenced></math>
    None of the above works fine after importing xml to Indesign document/templete, it is not renderting equivalent out instead it is showing the same text inside tags in the Indesign document.
    I have lot of content in our database, I will export to XML, import to Indesign, Indesign should render required output like what we see in the browser and export the output to printed format.
    Import formated XML to indesign --> Export to Quality Print Format
    Can any one guide me and let me know whether it is posible to do with Indesign, if so let me know in case if I am missing anything in importing xml and get required output.
    Thanks in advance. Waiting for reply ASAP.

    Possibly your expectations are too high. ... Scratch that "possibly".
    XML, in general, cannot be "rendered". It's just an abstract data format. Compare it to common markup such as *asterisks* to indicate emphasized words -- e-mail clients will show this text in bold, but InDesign, and the vast majority of other software, does not.
    To "render" XML, HTML, MathML, or LaTeX -- you seem to freely mix these *very* different markup formats, unaware of the fact that they are vastly different from each other! -- in the format you "expect", you need to apply the appropriate software to each of  the original data files. None of these markup languages are supported natively by InDesign.

  • Add XML tag (all power math equation) after/before

    Hi all,
    I have JS code written by (Sir John Hawkinson "http://forums.adobe.com/thread/938603?tstart=90") its work fine. Actually script do add XML tags [&x+2&] after/before this power math equation.
    My problem when i run this script i am select matter (power math equation) one by one is that possible when i select few paragraph script add automatic xml tags select all "power math equation" matter.
    script code below:
    var d=app.activeDocument,
        root=d.xmlElements[0],
        ie = root.xmlElements.add("inlineequation", app.selection[0]),
        im = root.xmlElements.add("inlinemediaobject", ie.texts[0]),
        to = root.xmlElements.add("textobject", im.texts[0]);
    to.xmlAttributes.add("role", "xpressmath");
    Thank's
    Regard
    snegig

    Hello Sir,
    That time you suggest lots of possibility this script code. But 2 and 3 month i am very new in (InDesign, JS and my first jobs) so i have heavy workload so.
    I am really sorry once again could you any change/update this code.
    Thank you so much once again
    Regard
    snegig

  • Importing XML Tags in a document

    Hello,
    I've been trying to import XML Tags in a .indd i created, using the Java API but it does not seem to work (the tags content don't update when i export the document as PDF).  I did the same actions in the InDesign CS4 GUI and it worked like it's supposed to.
    I ran the InDesign server using that command: InDesignServer -iorfile c:\ior.txt -pluginpath Server\Corba
    I included the .indd file, XML tags file and the Java code I wrote.
    EDIT:
    Also, document.getModified() is FALSE, even after calling document.loadXMLTags(...).
    When I exports the tags, all I get is this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Root colorindex="0"><Tag colorindex="35"/></Root>
    document.countTextFrames() returns 4, which is what is expected.  However document.countXMLTags() returns 2, i'm guessing it's because all my tags are named <Tag...> (+ the <Root> element).  Could that be the cause of my problems?
    any help will be appreciated, thanks

    Import XML imports the entire XML file, including the tags and the content, into the document. In the UI, the result would be seen in the Structure View. You can then work with the imported tagged content.
    Load XML tags simply loads the tags into the tag list. In the UI, the result would be seen in the tags panel. (This command is also available from the tags panel.) No XML content is imported; only the tag list is populated. This is used when you just want the tags from a document, and you don't want the content. You can then tag new content using the same tags as the XML file.

Maybe you are looking for

  • Hiding parent row in a tree

    Hello to all the Apex champs out there, can you please help me with the following problem: I have a table, and in its simplified version, it has the following rows: Id  Pid       Description 1    NULL   Id 1, Parent Id NULL 2    1         Id 2, Paren

  • List of PO's where GRN is done and Invoice Verification is not done.

    Gurus,           Please advice how to get the list of PO's for which Goods receipt is done and Invoice Verification is not done. Thanks in Advance, Nambi.N

  • I can't install either leopard or tiger on my iMac G4

    I just bought a used iMac g4 with the following specs: 1.25 ghz, 160 gb HD, 1 gb of ram, with a 20" screen (USB 2.0). It has OS X 10.3.9 installed. I have retail copies of tiger and leopard. The problem is that I can't get either to install.  When i

  • J2SE 5.0 released?

    Hi, It looks like J2SE 5.0 finally has been released. Is that correct, or is it still the RC? http://java.sun.com/j2se/1.5.0/download.jsp /Kaj

  • How do I change a file name of a photo

    I am new to the Mac and running Yoesomite. I wanted to know can I change the file name of a photo in iPhoto.  If not, then is the process to export the file to the desktop and then change the file name using cmd i.  I used to be able to do this in Wi