text to XML import
Hello
I have a problem of formatting of two tags with two styles on the same line, when you import an xml file.
Eventually the two tags with the style of the last tag, I use the function 'tags to styles' and it works all set up but when you import the xml file is automatically replaced by the style of the first tag to the tag of the second style.
Any suggestions what to do, I had to think about the creation of two columns but hope I can find an easier way to solve this problem.
BR
Erik
Use a paragraph paragraph style. Use (and card) a character style to the second element on the same line. This assumes that you have two different items on the same line and I want to style them differently.
Mike
Tags: InDesign
Similar Questions
-
characters available in the area of dynamic text through XML
Hello
I'm working on an application with Flash and AS3. I am dynamic import text with XML through PHP MySQL database. So far, I had all this work.
Although the available character set appears to be very low. I have to be able to use characters such as e (HTML eacute) and o (ouml HTML) and others that are widespread in the Netherlands. Anyone know how to get these characters working?
Any help is greatly appreciated
It's Arial should be the incorporation. Thank you very much I'll try to fix this.
-
Compare PDF fields XML imported in a loop
Hello
At first, I am a newbie in Acrobat and Javascript.
I create a PDF with Acrobat Pro form, my next idea is to fill out the PDF with the related data via an XML Import.
Real, I can import the xml file and fill the fields PDF hard-coded, it already works via Javascript.
My real problem is, I want to fill the PDF with the XML data via a loop for, because we want to use this script in several PDF forms and not each form has the same number of fields.
Here my script to work:
var xmldoc = util.readFileIntoStream ();
xmlString var = util.stringFromStream ();
var myXML = XMLData.parse (xmlstring, false);
var oNode = XMLData.applyXPath(myXML,"//Customer");
this.getField("CustomerName").value = oNode.Customer.CustomerName.value;
this.getField("CustomerStreet").value = oNode.Customer.CustomerStreet.value;
this.getField("CustomerPlace").value = oNode.Customer.CustomerPlace.value;
this.getField("CustomerSiteName").value = oNode.Customer.CustomerSiteName.value;
this.getField("CustomerSiteStreet").value = oNode.Customer.CustomerSiteStreet.value;
this.getField("CustomerSitePlace").value = oNode.Customer.CustomerSitePlace.value;
Here my problem
for (var i = 0; i < oNode.length; i ++) {}
If (this.getField (?) == oNode.Order.?) {
this.getField (?.) [i]). value = oNode.Order. ??? [i] .value;
}
}
I hope that everyone understands what I mean and can help me.
THX in advance
Concerning
Dirk
Hello try67,
Thank you.
As a first step, I see, with getNthFieldName and numFields, all fields in the PDF file now, but I have no idea how to do to access the fields of the XML file.
Thank you in advance.
-
Text fails to import into Indesign
Someone had problems with the export of PDF files in Indesign and a part of the text fails to import? When I discovered the original pdf text is there but looks like it was added once the original has been generated. I can select and it seems to have a text box. I can't copy or cut and paste it into Indesign. When you open the pdf in Illustrator text does not show more. Only way I could work around is to open pdf in Photoshop and save as tif. and then import them as. It is really annoying and has caused errors in the past. Any input would be appreciated!
Thanks, it worked!
-
Preserve conditional text in XML with FM 7.2 files
Using FM 7.2, you add conditional text in an XML file, save the file (in XML format) and then reopen, are preserved conditional text? I know that it works with later versions of FM, but it also works with FM 7.2?
Thank you very much
Jesus
According to the parameters of conditional text in the application definition in structapps.fm or in another application definition file, Yes. Conditional text in XML support has been added in FM 7.1.
-Lynne
-
Dynamic text called XML - how to create a line break
I'm the filling of an area of dynamic text with xml elements that I call
For example, I have two text fields and fill me help
TextTime.texttest.Text = (bktrlXml.Row, [e.currentTarget.Ivar], .tester);
TextTime.textName.Text = (bktrlXml.row [e.currentTarget.ivar]. NAME2);
How do I fill in a dynamic text field using a combination of the two above? I would also like to put a line break between the two elements. I tried something like that and could not understand it
TextTime.texttest.Text = (bktrlXml.Row [e.currentTarget.Ivar] .tester) + "/ n" (bktrlXml.row [e.cur rentTarget.ivar]. NAME2);
Thanks in advance...
-j
Use the back slash, not oblique:
TextTime.texttest.Text = (bktrlXml.Row [e.currentTarget.Ivar] .tester) + "\n" + (bktrlXml.row [e.cu rrentTarget.ivar]. NAME2);
-
Table of contents via XML import?
I understood how to export the table of contents via XML. The generated .xml contains fairly simple tags is easy to understand and would be simple to build in another tool. There are XML import, but he seems to want to only import the XML file as content, and not as the table of contents.
If I want to create this new table of contents in the format XML file using another tool and then import it into the RoboHelp project to replace the void that is, after I imported a bunch of WinHelp files, how can I do this? I did a lot of research in the application, within the help, etc., online search and come up emptyhanded.
Am I stuck at absolutely having to create and maintain the table of contents in RoboHelp?
That's the one.
See www.grainge.org for creating tips and RoboHelp
-
I created the project using jdevelopr.
locally, it works fine.
I moved all my files from my development instance.
trying to IMPORT an xml file using the following observation.
When I try to import xml AU_TOP rum.
I am getting error "java denied execute permission.
Same as I did chmod - A - R 777
Should I do something else?
If I run of webui where my pg.xml is available, I get java not found error.
PL. Let me know where I need to run this file
Also, pl. check the import xml command I use to import
Java oracle.jrad.tools.xml.importer.XMLImporter
/oradev2/test/testcomn/Java/xxhr/Oracle/Apps/xxhr/selfservice/personalaction/WebUI/XXHRPersonalActionSearchPG.XML
/ oradev2/test/testcomn/java/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui - rootdir/userId - apps
rootPackage - / oradev2/test/testcomn/java/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui /.
apps - username username-password apps - dbconnection ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.1.4.57) (PORT = 1528)) (CONNECT_DATA = (SID = dev))) ".
PL. Let me do I need to do any authorization or what the problem is.
pl in a timely response.
Thanks in advance
SivaYes, you can run it from any path (if you all the access path to the command)
-
How to resize the text during an XML import frames please?
Hello everyone,
I would like the text of the blocks will be automatically resize height when I import my xml file. How can I do it please?
Thank you
You can try this plugin:
-
Select the block of text of XML structure
I try to move the specific text blocks created if an XML to import to the bottom of the page (low mounting table) as info Folio and slug.
I can choose the text associated with an XML "VTag" element, but not the text block. Any help would be appreciated.
Thank you
property myHoHoV: {}
on myLoopLoop (myElement)
Tell application "Adobe InDesign CS4"
tell the active document
the value moreElement for each XML element of myElement
Repeat with 1 x to (moreElement County)
the value of element x of moreElement em1
Select em1
If (the tag name of the em1 is "VTag1") then
em2 Set to em1
Set the properties of the display preferences {horizontal measurement units: inch, vertical measurement units: inches, origin origin: the rule page}
at the top left anchor the transform value point of reference of the window layout 1
Select text of em2
Tell application "Adobe InDesign CS4"
move the em2 text to {5, 5}
tell the end
end if
Tell me myLoopLoop (point x of the moreElement)
end repeat
tell the end
tell the end
end myLoopLoopHi Kyran,
If the previous code has a problem, then try this code below.
Tell application "Adobe InDesign CS4"
activate
the value myPageHeight at the height of the page of the preferences of the document 1 document
the value myPageWidth to the width of the page of the preferences of the document 1 document
the value myOldRulerOrigin at the origin of the rule of document 1 display preferences
the original value of the rule of 1 at the origin of the page display preferences
Set the zero point of the document 1 to {0, 0}
the value mapping page active of the active window
tell document 1
the pgcnt value to count pages
Repeat with 1-pgcnt p
tell the page p
the txtframe value to count blocks of text
Repeat with 1-txtframe f
the value paracnt to count paragraphs of text frame f
tell text frame f
Try
TagName {} Set
Repeat with 1 paracnt access point
end game of tagname to (name of the tag to (point 1 of the associate XML elements) paragraph ap) as string
end repeat
If ((comte de tagname) is equal to 1) and (each point of tagname contains "VTag1") then
Select
move to {0.125, myPageHeight + 0.125}
on the other
don't select anything
end if
try to end
tell the end
end repeat
tell the end
end repeat
tell the end
activate
Display dialog "process is complete...". "with the 1 icon
tell the endConcerning
MANi
-
Hello
I am trying to create a xsl file so that reorganize the XML content.
I found the tutorial from adobe here http://www.Adobe.com/DesignCenter/InDesign/articles/indcs2at_xsl.html
But when I import the XML with this xsl file, I get this error.
"'Exit' element cannot be toplevel" or something like that.
Can someone give me a good (working) example of xsl transformation to import in indesign?
That's what I had
<? XML version = "1.0" encoding = "UTF-8"? >
" < xsl:styleshoot version ="2.0"xmlns: xsl = ' http://www.w3.org/1999/XSL/transform ">
< xsl: output method = "xml" version = "1.0" encoding = "UTF-8" Indent = "yes" / >
< xsl: template match = "/" >
< xsl: name = "Reis" >
< xsl: copy-of select = "Continent" / >
< xsl: copy-of select = "Earth" / >
< xsl: copy-of select = "Title" / >
< xsl: copy-of select = "St" / >
< xsl: copy-of select = "Inclusief" / >
< xsl: copy-of select = "Dagen" / >
< xsl: copy-of select = "Price" / >
< / xsl: >
< / xsl: template >
< / xsl: stylesheet >
It's the XML
<? XML version = "1.0" encoding = "UTF-8"? >
<? XML-stylesheet type = "text/xsl" href = "koningaap.xsl"? >
< Reizen >
< reis >
Afrika < Continent > < / Continent >
< Land > Kenia & amp; Tanzania < / Land >
< title > round fauna of evenaar < / title >
< Tricky > Droom I ervan om giraff, neushoorns,... < / tricky >
< > 14 Dagen < / Dagen >
comfort, Inclusief > international, of voor vertrek you is... < / Inclusief >
< Location > 2445 < / location >
< Foto href = "file://images/Kenia.jpg" / >
< / reis >
< / Reizen >
Hmmm indeed. The XSLT, I pasted is copied directly from a working file - it works in Kernow and InDesign, in ID when manually selecting the XSL file, and when you use the option "use the XML style sheet.
I guess it's a PEBKAC ("problem exists between keyboard and Chair").
-
Metacharacters InDesign on XML import
Anyone know if it is possible to encode the InDesign metacharacters (returns soft, thin spaces, spaces nonbreaking, etc.) in a file XML text so they restitueront correctly when the XML file is imported in InDesign?
For example, I have a paragraph style in InDesign that uses a soft return to set up a nested character style. I would like to encode the return in the XML so that the stylesheet works immediately upon import.
At the moment I am insert a control ASCII standard (a tab) character in this position, and then using search - replace in InDesign to swap try it with a return. It works well, but it would be nice to not take this extra step.
Once I have a history of InDesign with flexible returns in place, I can export and re-import without problem, until "Remapper Break, spaces and special characters" is not selected when the story is exported in XML format. This seems to indicate that it would be possible to incorporate the correct code in the XML file to start with. But everything I've tried has not worked.
Steve
Take a look at this thread:
http://forums.Adobe.com/thread/444362?TSTART=0
In which the question is specifically for the forced line break (return). You can use the same general method to enter these other code points; you just have to find their UTF-8 values. Use "nnnn;" (where "nnnn" is a decimal value) or "hhhh;" (where "hhhh" is a hexadecimal value).
-
XSL-TEXT: how to import submodels in XSL and the use of the xdofx tags?
Hello
I'm working on a BI Publisher report (XML Publisher 5.6.3 in EBS) to generate labels on a label printer. The output should be in plain text, that's why I decided to use the XSL-TEXT model and create my own translation of XSL.
In principle, it works pretty well, but there are two things that worry me a little:
1 does anyone know how can I import other XSL files, such as templates in RTF? The problem I have is that I don't know the URI or the auxiliary model. For the moment, I store other XSL files in the OA_MEDIA folder, but that's not really nice. In PCR, you can consult submodels with some commands xdofx... This brings me to my second question:
2. in RTF templates, you can use the XML tags specific Oracle, including the < xdofx: % > and tags < xdoxslt: % >. Does anyone know if and how I can use them in the XSL templates?
Any ideas are appreciated!
Kind regards
David.Howdy,
We import RTF submodels in our XSL - FO stylesheets via a syntax such as:
I'm lazy, so I just comment on one and comment to the other when I'm either stable on my desk or when I'm about to move it to the EBS.
OK, but to your question, I think the only way to do that (I think) you want is to convert your submodels of XSL - FO style sheets and then download them on EBS. Except that, or a profile option/setting I'm unaware of I don't know how EBS would know where your submodels.
For the syntax of the substring in FO stylesheets I used:
Hope that something in the help above.
Scott
-
How xml import and export aaf in logic pro 10.2.1
Hi all!!
I am trying to export the abnormal analysis result of my final cut pro x file.
so I export xml x, and I tried to import it in logic pro x. (this is what I learn from youtube tutorial)
then I couldn't find the "import to XML' and 'export aaf' in logic pro x.
I don't know if it's the problem of the new version or not... (I'm totally new to logic pro..)
can someone nice enough to answer my question please?
Thank you very very much
Lucy
Go to logic preferences and turn on ALL the advanced tools... (you are not more logical running in the 'Garageband Pro' limited functionality mode)
Missing menu items will appear now...
and...
-
Error in getting the brother following non-text for XML without CR at the end of tag
Hello all,.
I have a strange error of parsing XML files with labview. I have an XML file in a single line, without CR at the end of each tag. A normal browser or analysis tool XML is able to read, but not with Labview.
The error I have is with "Get Next non-text Sibling.vi", which in their own country fails to read the Type property (error-2630, property node (arg 1) in NI_XML.lvlib:Get next non-text Sibling.vi-> XML Get siblings Childs Nodes.vi-> encode data to label (Path) .vi).
Parser XML LabVIEW works if I add a CR to each node/tag.
I am quite sure that this is a bug in labview. I found a workaround is to open the file, then save the file with the Save File (Pretty Print) method and then open again, but it's a lot of time and I would avoid it.
Kind regards
Daniele
You were right, I did my own necessarily get a brother following text nodes (which also includes RC, I did not know it!).
Now it works, there is no bug of labview, also if the functions XML documentation is very poor.
Thank you
Daniele
Maybe you are looking for
-
Before the last update, I could open a new tab by clicking on the + sign to the right of any open tabs. None. Nothing happens. If I click on a link in an e-mail or on a Web site, however, a new tab opens. For example, if I get an email from Facebook
-
I have no "Firefox" button at the top of my screen. ???
Since I downloaded the new Firefox, I was frustrated. Now I find that I can not find my favorites is because they are "hidden". Unfortunately, to solve this problem, I have to start by clicking on the "Firefox" button at the top of the page. From wha
-
How to stop unwanted addresses webb...
Lately, after I open Safari and click on something, but especially during the reading of newspapers such as the Wall Street Journal, new windows open with "gifts" or advice for protecting my computer etc etc. Worse that they sometimes block any acti
-
Visual c# command line compiler
Greetings, About 14 days ago I received an error message at startup 'command line compiler Visual c# has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is ava
-
Microsoft wireless mobile mouse 6000 v2 2.4 ghz dongle replacement
Is the dongle that came with the "microsoft wireless mobile mouse 6000 v2" replaceable? If so, where would you get? URL?