XSL Preprocessing: Does Xalan's document(URI) work?

Hi fellows,
For the first time I have XML source file with xi:include tags, like
<xi:include href="other.xml"/>
Many XSLT processor automatically process the xi:include element, but Xalan-C as shipped with FrameMaker apparently does not. So I added this to my preprocessing stylesheet:
<xsl:template match="xi:include">
   <xsl:apply-templates select="document(@href)/*" />
</xsl:template>
FrameMaker 10 (in this case, hadn't had the time to test with previous version) hangs with 100% processor usage as soon as I access the document() function.
Has anyone successfully used the XSLT document() function with FrameMaker?
Thanks,
- Michael

Solved.
What I found was: The use of xi:include moved data into external files which was expected in the main XML file. Because it was not there, some variable value was set to zero, and following this a division by zero made FrameMaker use the processor but never reported any error or problem.
Lesson learned: Before you use the div operator, always check the value of the denominator!
- Michael

Similar Messages

  • I have set hyperlinks within my ibook author document, they work perfectly until i export and view on the ipad, when only one or none work, (hyperlinks to website not working at all) what am i doing wrong?

    I have set hyperlinks within my ibook author document, they work perfectly until i export and view on the ipad, when only one or none work, (hyperlinks to website not working at all) what am i doing wrong?

    An external hyperlink should handoff to Safari and leave iBooks.
    If that's not happening, perhaps there is something misconfigured on your iPad? Have you manually confirmed those links work in Safari on your iPad?

  • How does convert document to working cmyk after adjusting in profile mismatch dialog box?

    When there`s a profile or policy mismatch dialog box here,there`s an option about adjust the document to match current colour settings.But when the assign profile doesn`t match the working space,the check box of "convert document to working cmyk after adjusting"can choose.
    But question come out,when I check the box,I find the profile auto turn to working cmyk profile,there`s nothing to do with the assigned profile I chosen.
    So when to choose this option?why not directly choose the working cmyk profile?
    some more questions.about the "placed content"option,I`m not quite catch the meaning of the options.such as "keep existing assignments"."disable all profiles"."enable all profiles".Can anybody answer me?

    If I make a document with Color Settings' CMYK policy set to Off like this:
    Save and close the doc then change Color Settings to this:
    When I open the document the mismatch dialog tells me the document has no profile assigned while the current policy is set to preserve (the Off policy meant no profile got assigned).
    Clicking Adjust... lets me change the document's policy from Off to the current Preserve Embedded and choose the profile I want to assign which can be any available CMYK profile including the current working space. 
    A document's profile assignments can also be changed via Edit>Assign Profiles..., but the document's policy can only be changed from the Mismatch dialog
    If I click Adust... the profile I choose from Assign Profile is now the document's profile:
    Which is confirmed when I open Edit>Assign Profiles...

  • Does DII support document based web service?

    Hi,
    I am writing a web service cleint DII, the web service is document based. I followed the sample in
    https://bpcatalog.dev.java.net/nonav/soa/standalone-client/
    Everything seems correct. When I call call.invoke, I got an exception saying "operation style: \"document\" not supported".
    Here is the code fragment, can anyone tell me what's wrong or does DII support document based service?
    Thanks a lot!
    Y. Zhao
    try {
    ServiceFactory factory = ServiceFactory.newInstance();
    service = factory.createService(new QName(EXTRACTURLSERVICE));
    port = new QName(EXTRACTURLPORT);
    } catch (Exception se) {
    // throw new Exception("Can not create stock service: " + se.getMessage());
    _endPointAddr = "http://www.atomic-x.com/xmlservices/HyperlinkExtractor.asmx";
    _qnameNamespaceURI = new QName("ExtractUrl");
    requestQname = new QName(NAMESPACE_URI, "ExtractUrl");
    responseQname = new QName(NAMESPACE_URI, "ExtractUrlResponse");
    Call call = null;
         try {
    call = service.createCall(port);
    call.setTargetEndpointAddress(_endPointAddr);
    call.setProperty(Call.SOAPACTION_USE_PROPERTY,
    Boolean.TRUE);
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://www.atomic-x.com/xmlservices/HyperlinkExtractor/ExtractUrl");
    call.setProperty("javax.xml.rpc.encodingstyle.namespace.uri", "");
    call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document");
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "literal");
    call.addParameter("parameters", requestQname, ExtractUrl.class, ParameterMode.IN);
    call.setReturnType(responseQname, ExtractUrlResponse.class);
    result = (ExtractUrlResponse)call.invoke((Object[])params);
         } catch (Exception ex) {
    //throw new ServiceException("Can not get service: " + ex.getMessage());
    String msg = ex.getMessage();
    ex.printStackTrace();
         }

    There shouldn't be any restriction on the type of payload that's specific to DII.
    I did come across a similar message, but I found the cause back in the WSDL rather than the client code. Have a look at the WSDL and see if it mentions "RPC" meaning the web service is making available a remote procedure call interface.

  • Shortcut for "Switch to Previous Document" to work in Dreamweaver cs6

    Hi´
    I cant get the shortcut for "Switch to Previous Document" to work.
    Im working on a mac.
    Can anybody help me

    My "suggestion" (it's not a suggestion by the way - that's what DW says in the menu bar Window > Next Document/Previous Document) is the same as Cmd-Shift-tilde(~). ~ key is ` key.
    This key combination has not been changed as far as I remember. It's the same in CS5 (ctrl + tab does nothing by the way).
    Are you using German keyboard and German DW? What does it say in the menu bar Window > Next Document/Previous Document (in German equivalent obviously )
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Does exist any way to working by vectors in Photoshop ?

    I dlike to use some vector as a Photoshop brushes.... for example i make some graphics as you can see on picture 1 (it is AdobeIllustrator). Edges are nice smoothly. ..Then I exporting the same graphics from illustrator to Photoshop (as you can see on the pic 2). Edges are not smooth. Displayed graphics is rasterized and if i wont to sett bigger size of picture(graphics) then output is not good for me. Any Idea to solving this problem ?

    does exist any way to working by vectors in Photoshop ?
    Simple answer: YES
    From your screen shots, your main problem is, you are working at too low a resolution.
    Photoshops vectors are real vector objects. They are not "faked" at all. The Resolution of the file (similar to Illustrators pixel size in document setup) just sets how large the vectors will be rasterised, if output as a flat pixel based file.  It doesn't mean that structurally Photoshops vectors are inferior to Illustrators vectors. In the end ALL printed output is rasterised at some point - and you upsample the containing document for Photoshops vectors to massive sizes if necessary.
    You can copy and paste simple vector shapes from illustrator. You don't need to use Smart Objects. These pasted vectors can also be created directly in Photoshop - they be Vector layers, or paths.They can be reshaped, and worked with as vectors in Photoshop.
    Now as Zeno says, brushes, in Photoshop, must be rasterised.If you still want to use illutstrators vector "brushes" you can use Smart Objects.

  • How does Creative Cloud for teams work with staff who work in two locations ie in the office/home

    How does Creative Cloud from teams work with staff who work in two locations i.e. in the office and home?

    There is no difference please be aware that each login is provided with two activations however.  If you wish to have a computer at both work and home activated though that is perfectly fine as long as your employer is ok with using company software at home.

  • Why does my card reader not work on my iPad since upgrade?

    I use my iPad mini to download photos from my camera when I'm on the road. In the summer I bought the "3 in 1 Card Reader Adapter Cable Camera Connection Kit, 3 Port Card Reader for iPad 4 and iPad Mini by Eurekka" and it worked wonderfully. I was able to download photos (jpg and RAW) directly to the iPad and off the camera, and once home it was a flawless upload to my iMac.
    However, once I upgraded to iOS 7 last week I get a message saying the device is not supported. What gives? Will this be fixed or will Apple products only accept Apple accessories from now on?

    No but I was just trying to find a way in to your help desk. I didn't find 
    your web page very helpful in this regard.
    Douglas Whiteley
    In a message dated 10/05/2012 20:43:50 GMT Daylight Time, [email protected] 
    writes:
    Re:  why does my adobe reader not work
    created by Claudio  González
    (http://forums.adobe.com/people/Claudio+González)  in Adobe Reader - View the full  discussion
    (http://forums.adobe.com/message/4395059#4395059)

  • Hey Guys, from Germany. I want to connect my iMac 21" with my Tv just for fun. Does anyone know, how it works. With a Hdmi adapter?

    Hey guys! I want to connect my Imac 21 " with my Tv just for fun. Does anyone know , how it works?

    Selecting the correct adapter and cable depends on which year model iMac you have and what inputs the TV has?
    Check the User's Guide that came with your iMac or your Spec's at > Apple - Support - Technical Specifications
    to see if your iMac has a Mini-DVI or Mini DisplayPort and then select that adapter with the correct connection for the TV.
    Example: if you have a 2010 or 2011 iMac and an HDMI ready TV, then you would want the > Moshi Mini DP to HDMI Adapter with Audio Support - Apple Store (U.S.)

  • HT4241 Does dvi to HDMI adapter works on mid 2007 iMac? Some how my iMac detect the sharp tv but the tv screen is black.

    Does dvi to HDMI adapter works on mid 2007 iMac? Some how my iMac detect the sharp tv but the tv screen is black.

    you need mini dvi to hdmi cable
    http://store.apple.com/us/product/M9321G/B/apple-mini-dvi-to-dvi-adapter?fnode=5 1
    and
    http://store.apple.com/us/product/HA835ZM/A/belkin-hdmi-to-dvi-d-cable-2-m66-ft? fnode=51

  • How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    Hello Arthur,
    Thank you for the reply.
    You were correct that deleting the app and reinstalling it was the only thing to make it work but unfortunately I lost all the documents I made, even though they were backed up to iCloud before i deleted the app. At the same time as deleting pages I had to delete keynote and numbers too, so I've lost all the documents in them too.
    The mb of data which was assigned to each programme in iCloud has reduced, so. I guess they are gone for good. Is there any other way to reaccess them?
    Not your fault but I am a bit fed up the the iPad. I have lost work that I've done and have no other copy apart from what was in iCloud, as I don't have a printer and couldn't email them too myself as I couldn't get into the programme and  i've also got episodes of tv series I purchased that I can't download and albums that are half downloaded with songs missing, so I feel a bit swindled out of time and money and am going back to DVD ,  pen and paper and CDs .
    Instead of using iCloud I guess the only way to make sure I don't loose any more documents it to email them to myself each time I save them on the iPad. Is there anything else you could suggest please?
    I don't have any other apple products apart from iPods, so I can't access the iCloud on anything else can I?
    Thanks
    Amanda

  • Help, I can't sync any music to my iPhone 5s or iPad 2 ! :( it says it's finished sync but the music is greyed out and not on my devices.. I've tried unchecking the music and doing it manually. Nothing works. I took it to Apple store Robina no help..

    Help, I can't sync any music to my iPhone 5s or iPad 2 ! it says it's finished sync but the music is greyed out and not on my devices.. I've tried unchecking the music and doing it manually. Nothing works. I took it to Apple store Robina no help..

    So I have found a common denominator to this phenomenon. After having the same problem, I started to recopy my playlist of 500+ songs in groups of 10-20, 30+, 75+, and then over a 100+. Any music I have purchased from iTunes won't copy, but everything else did. Unsure if I made a playlist called "Purchased" at some point or this is an iTunes default, I also noticed it had some of the songs contained in my other playlist and was showing on my iPhone. Regardless of what I did such as dragging music from that playlist to the other and clearing songs from that playlist, I removed it altogether from the iPhone itself vs. doing through iTunes. After that, music copied fine to my playlist.
    So, my theory is that iTunes is getting tripped up on purchased tracks already showing on the phone and all songs are showing grayed out/dotted circle because iTunes can't resolve the conflict with purchased tracks.
    Hope this makes sense and is helpful.

  • I need to change my apple ID because I'm changing my email address. I'm worried that when I do, I'll no longer be able to use my first generation apple tv unless I change the apple ID there as well.  Does anyone know how this works??

    I have to change my apple ID because I'm changing my email address. (I have a Comcast address and am switching to U-verse) I'm worried that when I do, I'll no longer be able to use my first generation apple tv unless I change the apple ID there as well. I'm also trying to find out if changing my apple ID is going to interfere with getting my itunes content on my computer and my iphone.  Does anyone know how this works??

    My iTunes appleID is an old defunct e-mail address - it does not have to be functional.
    Do what Winston says to ensure you keep getting correspondence related to that ID.
    AC

  • My iphone 4 is in DFU mode.  However I still want the photos on the phone so I cant use the itune recover option.  Does anyone know of a work around

    My iphone 4 is in DFU mode.  However I still want the photos on the phone so I cant use the itune recover option.  Does anyone know of a work around

    actually its not in DFU which is suppose to be a black screen.  When it powers on there is an image of Itunes logo and the usb cord.  What happened is I did an update before I backed up my photos the phone worked great after the update no issues till it powered off.  When I turned it on again it had those two icons and was forcing me to sync with Itunes to system default which will wipe out my media. 
    Have you heard of any data recovery services

  • I no longer have access to my icloud email and don't know the answers to my security questions. Does anyone know how to work around this to reset my icloud ID without losing my info? I haven't backed up in a year because of this.

    I no longer have access to my icloud email and don't know the answers to my security questions. Does anyone know how to work around this to reset my icloud ID without losing my info? I haven't backed up in a year because of this.

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (123381)

Maybe you are looking for