How to give a Page break as XML

Can we order a page break through XML files.

I have a xml file which I am importing and generating PDFs. Are there any style tag or number that can be applied to the xml element to specify a page break.

Hi Nishatry

I don't think so there is a single command for breaking of indesign. This way you can try to create tag for breaking and apply a paragraph style, then just replace the pagebreak pagebreak style

app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.appliedParagraphStyle = 'Pagebreak ';
app.changeTextPreferences.changeTo = "^ P";
app.activeDocument.changeText ();

Thank you

concerning

a you are the

Tags: InDesign

Similar Questions

  • How to put a page break when value changes

    Hi, I am very new to BI Publisher. I realize, it is something very SIMPLE, but I can't find a CLEAR answer.

    I have a set of data that I have a repeating group for my RTF model and it works fine. But I want to have a page break every time that one of the changes in the values and I can't figure out how.

    Here is the XML

    <? XML version = "1.0" encoding = "UTF-8"? >
    <! - generated by the Oracle version 6.0.8.28.0 reports - >
    < PIR05 >
    < LIST_G_ITEM_NO >
    < G_ITEM_NO >
    < PAGE_NO > 0 < / PAGE_NO >
    < ITEM_NO > 4242301 < / ITEM_NO >
    < ITEM_DESC1 > 13MM Aries Cell Assembly < / ITEM_DESC1 >
    < LOT_NO > 123 < / LOT_NO >
    < LOT_DESC > 4242301 < / LOT_DESC >
    < SUBLOT_NO / >
    2IRE < LOCATION > < / LOCATION >
    < GRADE_CODE > NO < / GRADE_CODE >
    < ITEM_UM > each < / ITEM_UM >
    < ITEM_UM2 / >
    < > 614 LINE_NO < / LINE_NO >
    < COUNT_NO > 614 < / COUNT_NO >
    < P_ITEMUM2LABEL / >
    < P_ITEMUM2DASH / >
    < F_ITEMUM2 > 1 < / F_ITEMUM2 >
    < P_CSITEMUM2_LABEL / >
    < P_CSITEMUM2_DASH / >
    < / G_ITEM_NO >
    -< G_ITEM_NO >
    < PAGE_NO > 0 < / PAGE_NO >
    < ITEM_NO > 4242301 < / ITEM_NO >
    < ITEM_DESC1 > 13MM Aries Cell Assembly < / ITEM_DESC1 >
    < LOT_NO > 1232 < / LOT_NO >
    < LOT_DESC > 4242301 < / LOT_DESC >
    < SUBLOT_NO / >
    2IRE < LOCATION > < / LOCATION >
    < GRADE_CODE > NO < / GRADE_CODE >
    < ITEM_UM > each < / ITEM_UM >
    < ITEM_UM2 / >
    < > 615 LINE_NO < / LINE_NO >
    < COUNT_NO > 615 < / COUNT_NO >
    < P_ITEMUM2LABEL / >
    < P_ITEMUM2DASH / >
    < F_ITEMUM2 > 1 < / F_ITEMUM2 >
    < P_CSITEMUM2_LABEL / >
    < P_CSITEMUM2_DASH / >
    < / G_ITEM_NO >
    ...
    < G_ITEM_NO >
    < PAGE_NO > 0 < / PAGE_NO >
    < ITEM_NO > 4242301 < / ITEM_NO >
    < ITEM_DESC1 > 13MM Aries Cell Assembly < / ITEM_DESC1 >
    < LOT_NO > 562354 < / LOT_NO >
    < LOT_DESC > 4242301 < / LOT_DESC >
    < SUBLOT_NO / >
    RECV WOR < LOCATION > < / LOCATION >
    < GRADE_CODE > NO < / GRADE_CODE >
    < ITEM_UM > each < / ITEM_UM >
    < ITEM_UM2 / >
    < > 603 LINE_NO < / LINE_NO >
    < COUNT_NO > 603 < / COUNT_NO >
    < P_ITEMUM2LABEL / >
    < P_ITEMUM2DASH / >
    < F_ITEMUM2 > 1 < / F_ITEMUM2 >
    < P_CSITEMUM2_LABEL / >
    < P_CSITEMUM2_DASH / >
    < / G_ITEM_NO >
    < / LIST_G_ITEM_NO >
    < WHSE_DESC > OPM INVENTORY ORG < / WHSE_DESC >
    < CS_NODATA > 617 < / CS_NODATA >
    < CYCLE_NO > 000000014 < / CYCLE_NO >
    < / PIR05 >

    I want the g_item_no (repeating group) to have a page break every time LOCATION changes.

    You can declare two variables to contain the previous and current POSITION values and break the page when it is different.

    Or just before your end-for-each, copy the following code.
    page

    To ensure that his place in a form field.

    This will be a page break when changes of LOCATION.

  • How to insert a page break in WordPad?

    In WordPad, how can I insert apage break?

    Hi abbeStocker,
     
    -What version of the operating system are you using?
     
    WordPad does not support headers and footers and there is no way to insert a page number.
     
    For more information, see:
  • How to avoid a page break on the last page of the report

    Hello

    I have a layout of report with a parent frame and 2 child frames, an extensible framework (top) and a non-repetitive image (from the bottom).
    The time frame shows a column of synthesis at the level of the State which should apear only on the last page.

    However the extensible framework has a page break that is originally the totals in the non repetitive to be pushed to the next page framework.
    So, how can I avoid this page jump to the last page this total appears at the bottom of the last page instead of be an element isolated on the next page.


    Thank you
    Yogi

    If you want a page break change when the captain leaving the page break and as part of the master put 1 sheet for page, in the folder of maximun of property by page
    It's the wave to break of control

  • How to get a Page break before Inline TOC in EPUB?

    I export an epub book file.  The table of contents are created correctly online, but I can't yet find a way to get a page break right in front of her.

    In the export-> advanced EPUB Options, I chose Split Document-> export tags to paragraph Style to light.

    The header of the table of contents (saying "Table of contents") has the paragraph style "TOC direction.» In panel-> paragraph styles change all the tags to export, I checked the box for 'Split EPUB' next to the 'Table of contents for the topic' style.

    But after exporting, there is no page break before the header of the table of contents.

    How can I fix this?

    Thank you very much in advance for any info.

    Basically, I think that you are doing it correctly. I met the same problem. What I found is that the title of the table of contents PLACE (using the page layout > Table of contents function and place it on the page) will not work to make a page break. This is a special type of object, because it can be updated by the update command Table of contents.

    You need to do a work around: you need to create a "Table of contents" in a separate frame and apply the paragraph title style Table of contents.

    In the style of table of contents, include not happy for the TOC title. Check out the screenshots below of my OCD.

    By separating the "content" in its own frame, it works in EPUB:

  • How to obtain the page to an XML element?

    Hi all

    I am fairly new to InDesign scripting (and scripts in general) and have lots of fun :-)

    I have an InDesign document containing several frames (texts, graphics, etc.) and I tagged using the InDesign tags window.

    After much struggle, I managed to get the name of the XML element tag first in my document using this simple code:

    app.activeDocument.xmlElements[0].xmlElements[0].markupTag.name
    

    I know that it worked because I got the right answer in the Javascript console. (By the way, can someone explain to me why I write xmlElements [0] twice?) And what is the difference between xmlElements and xmlItems? Any help is appreciated).

    Then I'll probably use a loop for for each markupTag of each xmlElement. But I have a lot of trouble to obtain the page associated xmlElement :-/

    After a lot of searching on Google, I came across this article which is supposed to answer my question exactly. I tried to understand this code, copy and paste in ExtendScript, but I must admit it's a bit too complex for me...

    Can someone tell me how to get a graphic or a text linked to my XML tags block? Any help is greatly appreciated!

    Nevermind, I found an easier way to achieve what I was trying to do. Actually, I wanted to be able to handle different images in my document, so why I wanted to use the XML markup.

    For those of you who have the same problem, who knows from InDesign CS5, there is an itemByName method that allows you to select an image by its name in the layers panel. So much easier to use :-)

    Thread closed!

  • How can integrate phone pages to sitemap.xml

    I created a web page with Adobe Muse with plataform desk and telephone.  The problem I have is that the extract of phone did not appear in sitemap.xml

    I need to know if I did something wrong or this could really happen it's new software.

    Is it possible to contact you by phone?

    Everyone speeks spanih?

    The main problem is that Google don't bed not the phone as the sitemap.xml plataform does not a difference between the office and phone plataform as both have the same name in the HTML code.

    I'm not supposed to change any information that the pages come as default.

    Help!  from Chile, South America

    Stefano

    Sorry for the delay in response,

    Could you please share your with us .muse file to study? Please send it to [email protected]. If your file is larger than 20 MB, you can use something like Adobe SendNow SendThisFile or Dropbox. Don't forget to mention the link to this forum thread in your email so that we can identify the file.

  • How to get end Page break

    Hi all

    Requirement is just want to alert all the n page which has a break at the end of page.

    This will do.

    var myTextFrames = app.activeDocument.textFrames;
    var myTextFrame;
    var lastWord;
    var myReport = "";
    for (var n=0; n 0 && myTextFrame.nextTextFrame!=undefined){
              lastWord = myTextFrame.words[-1];
              if (lastWord.parentTextFrames.length > 1 && myTextFrame.nextTextFrame.parent != myTextFrame.parent){
                   myReport = myReport + "\nPage: "+myTextFrame.parent.name;
                   // lastWord.hyphenation = false;
              }
         }
    }
    
    if (myReport != ""){
         alert("Pages with hyphens across:"+myReport);
    } else {
         alert("No cross page hyphens found");
    }
    

    Also if you uncomment this line you will turn the cut on these words, which are spread over two pages.

    // lastWord.hyphenation = false;
    
  • Page Break at the view level

    I have 2 PivotTables in my application (one above the other). How to set the page break so that the last page of the first pivot & the first page of the second pivot do not print on the same page?

    Thank you
    Dinesh.

    Hey Dinesh,

    Here's the problem that you run in. Style CSS "page break before: always" is the right technique to make PDF files have page breaks. The question is how OBIEE generates PDF files. When you have a pivot table of response, the HTML code for this particular pivot table is actually several tables nested in HTML. For example,.


    -
    - -
    - -
    - -

    What happens is when I have you insert this CSS style, it happens only at the lowest. Resulting in something like the following. »


    -
    - -
    - -
    - -

    The question that OBIEE needs this style to be a child of the main table (table AnswerReport) and not back down to the level of the pivot table. So that the stand-alone version of response report to work, should be more structured as follows:



    But this would require quite a redesign of the OBIEE way generates the content of the request response.

    Instead, I would recommend this book autour.

    (1) create your unique response with both request (let's call them PT1 and PT2) of PivotTables
    (2) create a dashboard
    (3) dashboard page, add a second column by clicking the column more icon
    4) click on the properties of the second column and add a break. When it asks you what type of break, select Page Break with column break. This is the step that gives you your jump page PDF.
    (5) drag and drop your report at the top of the column
    6) click on the properties of your report, and then click View-> PT1
    (7) drag and drop your report in the background column
    8) click on the properties of your report, and then click View-> PT2
    (9) save your dashboard
    (10) in your iBots, deliver the dashboard instead of the report answer page.

    It's kinda a quote around, according to the way in which that OBIEE generates the HTML code, I don't think you can get a page otherwise break.

    Good luck and let me know if it works! I tested the technique of myself and it worked successfully.

    Here is my dashboard that has the page break:! http://i49.Tinypic.com/6fmb69.PNG!

    Here is my pdf file that shows the page break: page_break.pdf

    Let me know if it becomes finally it works for you.

    Good luck!

    -Joe

  • Insert Page breaks in Documents

    I need to insert page breaks in some documents and cannot find information on how to do it.  On win 98 it was control (enter) but this does not work on Vista.  Can someone help me on this stupid problem, please?  I would be Greatful SO I can at least do SOMETHING with Vista!

    Without knowing the program, it is impossible to tell you how to make a page break (they are all different).  Notepad or Wordpad supports the pagebreak feature (CTRL-enter as you say for Microsot Word {version today as well} and a few others that I wasn't aware that it worked in Windows 98 supplied "processing" programs more than it does today).  Maybe you were using a different program, and then (as Word or WordPerfect or Works or something like that).

    If you have no Microsoft Office (so do not Microsoft Word), then I strongly suggest you download the OpenOffice free at www.openoffice.org , which reflects a large part of the core functionality of the Office (with the exception of Outlook) and has a program called writer which is a program of processing excellent - better by far than what comes with Vista.  It can even open and work with Microsoft Office documents (even those of 2007 and I believe that the beta of 2010).  It will certainly have a page break function (as well as MANY other features that come with the office suites only expensive (but again, this is free and despite this, it is excellent).)  If you do not have Microsoft Office or another suite purchased offfice, then I HIGHLY recommend you download and use this set of programs instead of what comes with Vista (although there are times when what you really need is an option such as Notepad - cheap and Notepad is also good for making batch script files if you are into that sort of thing).  But if you do a real word processor, you must definitely pass.  If you go, try CTRL + entry for a page break and if that is not working then check page break in helping get the correct keyboard command - but I bet it's the same thing.

    Don't be too upset that this means that you need a 3rd party program "do something with Vista.  OpenOffice is so much better that it is not yet a comparison value.  The truth is that products delivered with Vista are just not as good as some of those available on the open market (be it for a price or sometimes free).  I happen to love Vista Center backup and restore (but it's really good in more expensive versions of Vista (business and above)- and yet, there is a 3rd best product part out there for that as well (Acronis: http://www.acronis.com/homecomputing/products/trueimage/ but it is not free).)

    There are some Vista programs that may be useful.  Some people use Microsoft Mail and Microsoft Contacts as long as their email client (and customer contact) - Although many who start this way switch to Microsoft Live Mail (it's a little better than Microsoft Mail), and of course, if you have Microsoft Office, you should definitely switch to Outlook (which is MUCH better, but it costs money that the Office is not free).  As a free alternative, many use Mozilla Thunderbird http://www.mozillamessaging.com/en-US/thunderbird/ as, yet once, it is a better product with more features and options (and it's free Unlike Outlook).  The program Microsoft Search in Vista is very good if you take the time to learn how to use wisely and has need of no alternative.

    Remember that none of these other programs would work without Windows Vista (or some other OS) behind it - so it does not serve an important purpose.  You wouldn't be able to post on this site without Vista and a browser.  If you use Internet Explorer, it's kind of like using Vista because version 7 comes with Vista and cannot be added or removed (it's part of the base OS) - If you're probably using IE8 that was the upgrade (and a value of upgrade).

    I hope this helps.

    Good luck! Lorien - MCSA/MCSE/network + / A +.

  • Create the document word without adobe page breaks

    I can easily create a PDF from PowerPoint. However, when I export the PDF file in Microsoft word, each PowerPoint slide goes into an individual page. How to remove these page breaks? I want several slides on one page. I want to take my PowerPoint and put it in hierarchical form in word. I use a Mac and when I put the PowerPoint in its linear form on Word with Adobe I lose all the formatting, I want to format through Adobe, but want several combined pages?

    It is unlikely that any particular control. During the conversion to Word, it's always a challenge between those who want the exact layout at the cost of editing and who want editable at the cost of page layout. I'm surprised Acrobat does not have controls for it, but it doesn't. You probably need to remove breaks in Word.

  • Add a page break in Adobe Muse

    I'm still working on how to add a page break.  I want to make a scrolling page and add images of different background for each break.

    Is this possible?

    You can use rectangles as a jump page, small size and stretched as a width of 100%. You can then use rectangles with picture as the page background fill.

    Thank you

    Sanjit

  • remove a page break

    How to remove a page break in a PDF with Acrobat Pro?  My document has two pages cropped and I want it all on one page.

    Is my only option to convert the file in Word and it do?

    To add a so slightly, Acrobat does not have the type of editing capabilities that you MENTION. So the workaround solution has been mentioned is a way to do what you want.

  • How can I enter a page break? (CS5)

    I have a routine that reads an XML file and creates an identity document. How can I create a page break by adding to the current PointInsertion? I tried with

    story.insertionPoints.lastItem () .silence += SpecialCharacters.pageBreak;

    but these special characters seem to apply only to the XML format. What is the alternative? -J' use ID CS5.

    It's not InDesign does it, but rather the Javascript syntax. Oh... and a little of yours as well.

    An element of 'content' can be an enumeration SpecialCharacters - a number - or a text string. The way that you are referring to the existing element, you can either get: If the last character is represented as one of the special characters, you get a number. If this isn't the case, you get a chain.

    So what happens, using the operator '+' and a number on something which you are not sure what type it is?

    1. If you get a string in the back, you are in trouble, because forbidden Javascript adding number to string. If the string cannot be forced to a number (and usually he can't), then the number is converted to a string. String of numbers is the set of its numbers, and therefore, logically, adding 'SpecialCharacters.pageBreak' to a random string adds the characters '1397778242 '.

    2. If you get a return number, you're in trouble even more! Suppose that has already happened to a value of "Special characters" listed on this last position - say, a half-quadratín ("SpecialCharacters.EN_DASH"). Its digital representation - that is returned if you ask it - is 1397059140. Guess what happens if you use "+=" to ADD the number 1397778242 (your page break, don't forget) him? You get the 2794837382 value, which, uh, will appear as such. ID does not he "is" the value of an en dash, added to the value of a page break. It's just a number.

    What is the difference when you use text strings? Generally, the following construction works:

    story.insertionPoints.lastItem().contents += 'hello happy world!';
    

    .. but not always! It will fail when the content of this last PointInsertion... one of the SpecialCharacters values. And when you do that, you get the same as above (and only the other way around).

    It works when you use a direct assignment '=' as you can assign either a string value or a single character SpecialCharacter enumeration.

  • How Page Break, Livecycle form with combined file merged

    Hello to you all and happy Friday for those who have the weekend off.

    I would like to know what the own/easy way to make a page break. I recently created a file in Adobe Livecycle and merge this file with another PDF file that I use as a cover sheet to a notice that I will distribute soon.

    The reason why I want to add a page break is to separate the "intendant cover sheet" with the rest of the leaves that are a notice. I want to be able to set the properties for printing 2-sided printing but separate from the rest of the first sheet.

    Any tips?

    Also, I wanted to add. Adobe Acrobat 9 Pro does not allow to combine XML files, instead of save my form of livecycle designer that I had to print in PDF Primo that I could save a version no XML of my form and use the functionality combine in Acrobat 9 Pro.

    .... My original document was saved as .tds like that I could edit if necessary. Just thought I would wear the foregoing to the attention of the readers so they know what I've done.

    Since I print to PDF first of all, I am now able to use my file in Acrobat and combine it with another PDF file that I have that I want to use it as a cover sheet. This is where I want to separate the 1st page when printing to the rest of the pages do not print on the back of the cover sheet when you select print 2 sides

    Well with some good research I found my answer, and the best solution has been implemented of forms for printing. For those who have stumbled on this "Using page sets to control printing double-sided and single-side form a" works very well for XML files that are not merged with no XML.

    For those who have files not XML as you combined files XML not in a "insert after the first page in a form intended for printing two-sided with a blank page' is the solution you are looking for. Free headache as defined page controls and the location of the page master are not available for non-XML.

    I am able to add controls and the master page on my original XML file, but as I had to convert it to XML not to combine with another XML file not that these features are at the door.

    Hope all have a great weekend.

Maybe you are looking for

  • PlayStation Network sucks!

    I'm Livid angry. My games doesn't work on the PSN anymore and PSN decided to try to violate my constitutional right to civil action through class action. These freaks sent a 3000 + terms of service for my son 13 years and his daughter as if they woul

  • 2009 MBP

    crashes, stops, then restarts

  • Tecra M9: WLan not working not - not displayed in Device Manager

    I've updated the Bios with the latest version, I turned on the switch on the front of the laptop wireless. I also tried FN + F8 but still no joy. I have reset the default settings of the BIOS without change. The wireless light flashes when the comput

  • Need to know how to remove the memory of others of the iPod Touch

    My iPod is blocked up with about 14,17 GB extra storage space in other section. I removed most of the applications, but the space is always used with 14,17 GB of space

  • Problem setting up standalone exe application

    I am trying to create a stand-alone application, that is to say, for a large enough program .exe file. The program includes several libraries 'instr', including 'TD2024', 'AGN6700', ' AGILENT 6700 "and many others.» When I try to build, or to conside