Converting XML in WML using XSL Processor from XMLParser v2

When trying to concert an XML doc into WML, it seems like the XSL Processor is removing some WML tags. Below are the XML doc and XSL doc I am using :
The XML DOC
<?xml version="1.0"?>
<ROWSET>
<ROW id="1">
<NAME>RestaurantName</NAME>
<ADDRESS>RestaurantAddress</ADDRESS>
<PHONE_TYPE>Fixed</PHONE_TYPE>
<PHONE>0112345678</PHONE>
<PRICE>60</PRICE>
<MENU>Salad, Pizza</MENU>
<DESCRIPTION>Very good restaurant</DESCRIPTION>
</ROW>
<ROW id="2">
<NAME>SecondRestaurantName</NAME>
<ADDRESS>SecondRestaurantAddress</ADDRESS>
<PHONE_TYPE>Fixed</PHONE_TYPE>
<PHONE>0187654321</PHONE>
<PRICE>60</PRICE>
<MENU>Salad, Fish</MENU>
<DESCRIPTION>Godd restaurant</DESCRIPTION>
</ROW>
</ROWSET>
The XSL DOC
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<WML>
<CARD>
<xsl:apply-templates/>
</CARD>
</WML>
</xsl:template>
<xsl:template match="ROWSET">
<xsl:for-each select="ROW">
<xsl:value-of select="NAME"/>
<xsl:value-of select="ADDRESS"/>
Phone : <xsl:value-of select="PHONE"/>
Price of the menu : <xsl:value-of select="PRICE"/>
You can order : <xsl:value-of select="MENU"/>
<xsl:value-of select="DESCRIPTION"/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
The
tag are removed by the XSL Processor ; In fact it seems that any tag contained within <xsl:template match="ROWSET"> and </template> is removed. This does not occurs with other XSL processor (such as lotusxsl).
Is there something I'm doing wrong ??

Your examples works correctly for me using the XSLT engine that comes with release 2.0.2.6 of the Oracle XML Parser "v2" for Java.
Are you working with this latest release?

Similar Messages

  • Conversion from xml to csv using xsl

    hi i am converting from xml to csv using xsl i am getting the extra junk character(space) in the csv file.below i written the xml file and xsl file
    xml file
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?xml-stylesheet type="text/xsl"?>
    <DOCUMENTS>
         <FILE>
         <DOCUMENT>
              <BUSINESS>finance</BUSINESS>
              <PROGRAM>CM</PROGRAM>
              <PROJECT>Testing Area</PROJECT>
              <NAME>121940~1.doc</NAME>
              <TEXT>SQL</TEXT>
              <LINK>http://www.sql.org/</LINK>
         </DOCUMENT>
         <DOCUMENT>
              <BUSINESS>finance</BUSINESS>
              <PROGRAM>CM</PROGRAM>
              <PROJECT>Testing Area</PROJECT>
              <NAME>121940~1.doc</NAME>
              <TEXT>Information</TEXT>
              <LINK>http://google.com/</LINK>
         </DOCUMENT>
         <DOCUMENT>
              <BUSINESS>finance</BUSINESS>
              <PROGRAM>CM</PROGRAM>
              <PROJECT>Testing Area</PROJECT>
              <NAME>121940~1.doc</NAME>
              <TEXT>Configuration</TEXT>
              <LINK>http://msdn.microsoft.com/</LINK>
         </DOCUMENT>
         </FILE>
    </DOCUMENTS>
    xsl file
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="text" indent="yes"/>
    <xsl:template match="DOCUMENTS">
    <xsl:text>Business,Program,Project,DocumentName,Textforlink,Hyperlink</xsl:text>
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="FILE">
    <xsl:value-of select="DOCUMENT/BUSINESS"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="DOCUMENT/PROGRAM"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="DOCUMENT/PROJECT"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="DOCUMENT/NAME"/>
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="DOCUMENT">
    <xsl:value-of select="','"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="TEXT"/>
    <xsl:value-of select="','"/>
    <xsl:value-of select="LINK"/>
    </xsl:template>
    </xsl:stylesheet>
    for converting to csv i am using java program.
    please go through it.

    <xsl:value-of select="','"/>That's not the correct way to output a literal comma. Just write the comma directly, or use xsl:text. And don't put in those line breaks either. You can reduce the rule for FILE to something like this:
    xsl:template match="FILE">
    <xsl:value-of select="DOCUMENT/BUSINESS"/>, <xsl:value-of select="DOCUMENT/PROGRAM"/>, <xsl:value-of select="DOCUMENT/PROJECT"/>, <xsl:value-of select="DOCUMENT/NAME"/>
    <xsl:apply-templates/>
    </xsl:template>

  • Convert xml into SAP using dataset

    Hi All,
    How to convert XML into itab using dataset, in this conversion have any function module available? please give me a sample program (having any). and material also.
    Thanks,
    Suresh maniarasu

    Hi,
    First you need to get the XML file Data into SAP using the  Function Module and can populate the data into an inernal table.
    TEXT_CONVERT_XML_TO_SAP
    DMC_CONVERT_XML_TO_TABLE
    or you can use the following classes
    CL_RSRD_CONVERTER_XML
    CL_WDR_XML_CONVERT_UTIL
    CL_EXM_IM_ISHCM_CONV_XML_SAP
    Thank U,
    Jay....

  • Using a processor from QS in an even older mac?

    Hello.
    Can I use the processor from my old G4 QuickSilver 733Mhz (broken sound output) in my even older G4 466Mhz? They both have 133Mhz system-bus, so If it does fit, my biggest concern is heat issues.
    Thanks.

    Hi
    the different caches can be confusing, especially as the Digital Audio G4s use two different G4 variants. The 466/533MHz have a large (1MB) but slow (233/266MHz) level 2 cache. The 733MHz has a small (256K) but fast (733MHz) level 2 cache and a large (1MB) but slow (183MHz) level 3 cache. Just to confuse things further though, the 733MHz processor used in the Quicksilver doesn't have the level 3 cache that the same speed processor in the Digital Audio has!
    It's difficult to say how much of a speed gain you'll actually notice. If both Macs are still useable though and have a similar spec in terms of the amount of memory etc, perhaps you could perform some tests with the applications you normally use. Alternatively you could try using Xbench and perform the processor tests, although it's a bit artificial.
    If things get too hot the case fan should speed up to its higher setting which will be noticeably louder and/or you'll start experiencing kernel panics. I'd be surprised if you actually destroyed the processor and/or logic board, although I guess it's not impossible.
    As well the possible heat issues and 12 volt feed that's needed, before installing the processor you'll also need to remove the old thermal pads/paste from the heat sink bottom/processor top and apply some new. This ensures a good heat transfer between the processor and heat sink.
    Finally you'll also need to be careful you don't damage anything during the installation. It's not that difficult to do, but when you remove the heat sink clips you need to make sure the screw driver doesn't slip and damage the logic board. Similarly when you remove the processor card, you need to lift it straight up to make sure the processor socket and pins aren't damaged.
    I'm not trying to put you off, but I'd keep these things in mind when deciding whether it's worth doing...
    I hope this helps.

  • How to ignore prefix from XML while converting XML to csv using XSLT

    Hi All,
    I am trying to convert XML to csv file.
    the XML i have is like....
    <?xml version="1.0"?>
    <bulkCmConfigDataFile xmlns:es="SpecificAttributes.3.0.xsd" xmlns:un="utranNrm.xsd" xmlns:xn="genericNrm.xsd" xmlns:gn="geranNrm.xsd" xmlns="configData.xsd">
    <configData dnPrefix="Undefined">
            <xn:SubNetwork id="AU_R">
                <xn:SubNetwork id="H5RG_0501">
                    <xn:MeContext id="Firle_5070020">
                        <xn:ManagedElement id="1">
                   <un:RncFunction id="1">
                   <un:UtranCell id="50390303">
                                    <un:attributes>
                                        <un:userLabel>UtranCell 50390303</un:userLabel>
                                        <un:cId>52383</un:cId>
                                        <un:localCellId>50390303</un:localCellId>
                                        <un:uarfcnUl>9613</un:uarfcnUl>
                                        <un:uarfcnDl>10563</un:uarfcnDl>
                                        <un:primaryScramblingCode>502</un:primaryScramblingCode>
                                        <un:primaryCpichPower>287</un:primaryCpichPower>
                                        <un:maximumTransmissionPower>403</un:maximumTransmissionPower>
                                        <un:primarySchPower>-18</un:primarySchPower>
                                        <un:secondarySchPower>-20</un:secondarySchPower>
                                        <un:bchPower>-20</un:bchPower>
                                        <un:lac>50301</un:lac>
                                        <un:rac>1</un:rac>
                                        <un:sac>52383</un:sac>
                                        <un:utranCellIubLink>SubNetwork=AU_R,SubNetwork=H5RG_0501,MeContext=H5RG_0501,ManagedElement=1,RncFunction=1,IubLink=5039030</un:utranCellIubLink>
                                    </un:attributes>
                                </un:UtranCell>     
                   </un:RncFunction>
                        </xn:ManagedElement>   
                    </xn:MeContext>
             </xn:SubNetwork>
            </xn:SubNetwork>
        </configData>
    </bulkCmConfigDataFile>now when i am using XSLT functionality to convert this XML into a csv i want ignore all the prefix from this xml like "un" , "xn" etc....
    can anybody has idea how i can ignore all this value using XSLT

    I just dont understand why factory.setIgnoringElementContentWhitespace(true) did not work.That only does something if the XML has a DTD that enables it to know what whitespace can be ignored and what is significant. The API documentation for the method refers you to this document:
    http://www.w3.org/TR/REC-xml#sec-white-space

  • Converting schema in dtd using xsl

    Hey all,
    I have a problem with an xsl transformtion.
    Somewhere on the web I found a xsl-stylesheet to convert schema's into valid dtd's
    http://crism.maden.org/consulting/pub/xsl/xsd2dtd.xsl
    I've used a program from the JavaTM Web Services Developer Pack to run this xsl on existing schema's but the results are definately nothing like a dtd ... what is this n00b doing wrong .... Heeelp ...
    * @(#)Stylizer.java 1.9 98/11/10
    * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * - Redistributions of source code must retain the above copyright
    *   notice, this list of conditions and the following disclaimer.
    * - Redistribution in binary form must reproduce the above
    *   copyright notice, this list of conditions and the following
    *   disclaimer in the documentation and/or other materials
    *   provided with the distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
    * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that this software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    // For write operation
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import java.io.*;
    public class Stylizer
        // Global value so it can be ref'd by the tree-adapter
        static Document document;
        public static void main (String argv [])
            if (argv.length != 2) {
                System.err.println ("Usage: java Stylizer stylesheet xmlfile");
                System.exit (1);
            DocumentBuilderFactory factory =
                DocumentBuilderFactory.newInstance();
            //factory.setNamespaceAware(true);
            //factory.setValidating(true);
            try {
                File stylesheet = new File(argv[0]);
                File datafile   = new File(argv[1]);
                DocumentBuilder builder = factory.newDocumentBuilder();
                document = builder.parse(datafile);
                // Use a Transformer for output
                TransformerFactory tFactory = TransformerFactory.newInstance();
                StreamSource stylesource = new StreamSource(stylesheet);
                Transformer transformer = tFactory.newTransformer(stylesource);
                DOMSource source = new DOMSource(document);
                StreamResult result = new StreamResult(System.out);
                transformer.transform(source, result);
            } catch (TransformerConfigurationException tce) {
               // Error generated by the parser
               System.out.println ("\n** Transformer Factory error");
               System.out.println("   " + tce.getMessage() );
               // Use the contained exception, if any
               Throwable x = tce;
               if (tce.getException() != null)
                   x = tce.getException();
               x.printStackTrace();
            } catch (TransformerException te) {
               // Error generated by the parser
               System.out.println ("\n** Transformation error");
               System.out.println("   " + te.getMessage() );
               // Use the contained exception, if any
               Throwable x = te;
               if (te.getException() != null)
                   x = te.getException();
               x.printStackTrace();
             } catch (SAXException sxe) {
               // Error generated by this application
               // (or a parser-initialization error)
               Exception  x = sxe;
               if (sxe.getException() != null)
                   x = sxe.getException();
               x.printStackTrace();
            } catch (ParserConfigurationException pce) {
                // Parser with specified options can't be built
                pce.printStackTrace();
            } catch (IOException ioe) {
               // I/O error
               ioe.printStackTrace();
        } // main
    }Cybu

    here is a XSD that is converted okay:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="pvDepot">
              <xs:complexType>
                   <xs:attribute name="pvId" type="xs:ID" use="required"/>
                   <xs:attribute name="status" type="xs:string" use="required"/>
                   <xs:attribute name="languagePivot" type="xs:string"/>
                   <xs:attribute name="versionPivot" type="xs:string"/>
                   <xs:attribute name="finalVersion" default="false">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="true"/>
                                  <xs:enumeration value="false"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
                   <xs:attribute name="comment" type="xs:string"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="pvIndex">
              <xs:complexType>
                   <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="pvOOText"/>
                        <xs:element ref="pvDepot"/>
                        <xs:element ref="pvPresence"/>
                        <xs:element ref="resultatVoteAN"/>
                   </xs:choice>
                   <xs:attribute name="pvId" type="xs:ID" use="required"/>
                   <xs:attribute name="pvSittingDate" type="xs:string" use="required"/>
                   <xs:attribute name="pvSittingId" type="xs:string" use="required"/>
                   <xs:attribute name="pvStatus" default="edition">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="edition"/>
                                  <xs:enumeration value="provisional"/>
                                  <xs:enumeration value="final"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="pvOOText">
              <xs:complexType>
                   <xs:attribute name="pvId" type="xs:ID" use="required"/>
                   <xs:attribute name="type" default="SESSION">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="FREE"/>
                                  <xs:enumeration value="SESSION"/>
                                  <xs:enumeration value="COVERPAGE"/>
                                  <xs:enumeration value="TRANSFER"/>
                                  <xs:enumeration value="PETITION"/>
                                  <xs:enumeration value="DEPOSIT"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
                   <xs:attribute name="status" type="xs:string" use="required"/>
                   <xs:attribute name="languagePivot" type="xs:string"/>
                   <xs:attribute name="versionPivot" type="xs:string"/>
                   <xs:attribute name="finalVersion" default="false">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="true"/>
                                  <xs:enumeration value="false"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
                   <xs:attribute name="comment" type="xs:string"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="pvPresence">
              <xs:complexType>
                   <xs:attribute name="pvId" type="xs:ID" use="required"/>
                   <xs:attribute name="status" type="xs:string" use="required"/>
                   <xs:attribute name="finalVersion" default="false">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="true"/>
                                  <xs:enumeration value="false"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
                   <xs:attribute name="comment" type="xs:string"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="resultatVoteAN">
              <xs:complexType>
                   <xs:attribute name="pvId" type="xs:ID" use="required"/>
                   <xs:attribute name="status" type="xs:string" use="required"/>
                   <xs:attribute name="finalVersion" default="false">
                        <xs:simpleType>
                             <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="true"/>
                                  <xs:enumeration value="false"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
                   <xs:attribute name="comment" type="xs:string"/>
              </xs:complexType>
         </xs:element>
    </xs:schema>

  • CS5 Crashes using Image Processor from Bridge

    Photoshop CS5 64 and 32 crashes when using the image processor from Bridge after 200 images or so.  Converting 1000 RAW files to PSD or PSD to JPEG takes multiple reloads.  any ideas?

    I've encountered a non-repeatable variation of this problem from time to time: crash occurs at startup of image processor when Photoshop is open and has been running for some time.  (I've not seen the error where Bridge > Image Processor causes launch of Photoshop.)  Once I've started a run it has not failed to complete all images (but I'm not converting RAW files and not as many files as 1000).  ScriptingSupport.8li is listed in event log problem signature.

  • Help-XML report which uses XSL-FO and XSL-FO contains OAF VO

    Hello All,
    I want to know functionality of one XML report developed by Oracle.
    From one oracle form after clicking one button, it is populating PDF file output of report to open.
    Here is what Oracle has done to achieve this:
    On the click of button on oracle form, it is calling one OAF form. (fnd_function.execute(function_name=> 'ONT_PRINT').
    This OAF form contains nothing on its layout. One CO (File is attached) and AM is attached to this OAF page.
    In CO, may be it is somehow it is calling RTF file.
    I got the RTF file from XML publisher, RTF imports one XSL-FO (ONTBSAEXSL is a Template of XSL-FO type in Oracle apps in XMP Publisher administrator responsibility) file using <?import:xdo://ONT.ONTBSAEXSL.en.00/?>
    In the XSL file, OAF View Objects has been used like,
    <xsl:variable name="LinesVO" select="/*/HeaderVO/HeaderVORow/LinesVO/LinesVORow"/>
    What is the meaning of " /*/HeaderVO/HeaderVORow/LinesVO "? Does it mean LinesVO is getting called by HeadersVO. But in OAF this never happens.
    I want to add some columns in the RTF from LinesVO. But "Unit price" is not available in LinesVO.
    Do I need to extend this VO in JDeveloper and upload the .JPX and extended VO files?
    I have done extending the VO, but no use..
    So,
    In short my question is,
    If I extend the VO LinesVO by XXLinesVO, then will this <xsl:variable name="LinesVO" select="/*/HeaderVO/HeaderVORow/LinesVO/LinesVORow"/>
    statement in XSL-FO use my XXLinesVO or LinesVO?
    Regards,
    Parag

    I want to customize one RTF template by adding some columns. This RTF imports one XSL-FO stylesheet.
    RTF has tags like <?for-each:/*/HeaderVO/HeaderVORow/LinesVO/LinesVORow?>
    and XSL file has tags like <xsl:variable name="InternalOrgName" select="/*/HeaderVO/HeaderVORow/InternalOrgVO/InternalOrgVORow/Name"/>
    If I want to add one colun in LinesVO, what are all things I need to do?
    I customized it by adding the new columns through JDeveloper and extending the VO's and substituting them, importing JPX and bounced apache.
    But the XSL-FO file is very strange (attached herewith). Those changes are not reflecting in report even after extension.

  • How to convert XML into XSD Using Altova XML Spy

    Hi,
    How to convert XML file into XSD Using Altova XML Spy.
    I want to use that XSD as an External Def in my IR
    Regards
    Suman

    hi
    Following is the path where you could get the PDF's and zip file.
    https://www.sdn.sap.com/irj/sdn/howtoguides?rid=/webcontent/uuid/5024a59a-4276-2910-7580-f52eb789194b [original link is broken]
    please check out the following Heading, and at the bottom corner you will find the download option where you will get the zip file:
    How to Generate XSD Schemas from Existing MDM 5.5 Repositories
    You can download xomlite45.jar from sdn
    copy the jar file to your java installation location like c:>java in
    Java –jar xomLite45.jar MyFile.xml
    then you get correspondig MyFile.xsd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7f4eb

  • Problem using Image Processor from Bridge

    I have been using the Image Processor to process photos from Bridge for quite some time. However, I recently received an error message when I try to initiate Image Processor from Bridge and I have not been able to find any help topics that address my problem: I select images in Bridge to process, then click "Tools>Photoshop>Image Processor". Photoshop opens and the familiar Image Processor dialog box opens. Item 1 in the dialog box says "Process files from Bridge only" and has the number of files I have selected in parenteses. I select the file type and other settings in #3, and preferences in #4. When I click "Run", I get an error message window that says: "Script Alert. There were no source files that could be opened by Photoshop". The Image Processor works if I open the files in Photoshop first, then run it by selecting "File>Scripts>Image Processor" and tell it to process all open files.
    Would someone be able to help me with this problem?
    Thanks, Larry

    Usually when it worked before and not now, and you have added no new software or hardware I recommend resetting the preferences.  Hold down the Ctrl key and click on the Bridge icon to start.  You should get a reset window with 3 options.

  • Using Image Processor from Bridge

    I'm trying to use the image processor from within Bridge. I have done this several times in the past, as recently as last week.
    I have some files selected in Bridge. I select "Tools>Photoshop>Image Processor" and the dialog box opens. Step 1 indicates that I have files to process (10 in this instance), and I have JPEG selected as the file type to process. When I click "Run", I get an error message that says "Script Alert" in the title. The message in the window says "There were no source files that could be opened by Photoshop".
    I opened the same 10 files in Photoshop, and I was able to run the Image Processor on them while they were open in Photoshop. I'd rather not do this unless I have to.
    I haven't added any new programs or plug ins since the last time I used the Image Processor from Bridge.
    I had the same problem in early June, and the solution suggested then fixed the problem. I'm experienceing the same problem today, and the same solution doesn't seem to be working now.
    The previous solution was to reset the preferences by holding down the Ctrl key and clicking on the Bridge icon to start. A reset window with 3 options popped up. Now, w
    I would sincerely appreciate any help you could give me with this.
    Thanks,
    Larryhen I hold the control key down and click on the Bridge icon, I don't get the reset window. I tried it by control-clicking on the Bridge icon from within Photoshop, and I tried it by control-clicking on the Bridge icon from my desktop with Photoshop closed.

    Read you original post again and your last post and now I am confused.
    You said you reset your Bridge preferences, yet in post #1 you said " I hold the control key down and click on the Bridge icon, I don't get the reset window. I tried it by control-clicking on the Bridge icon from within Photoshop, and I tried it by control-clicking on the Bridge icon from my desktop with Photoshop closed.
    So with this said you have not reset the preferences unless you have gone in and deleted the file.  The Bridge Icon is the one one the desktop that you click to start Bridge.
    BUT, in last post you say you have a Mac.  So to reset preference believe it is Cmd key.
    No matter how you do it you need to get the reset window with the 3 reset options.

  • Problem in transforming xml to html using xsl

    Hi everybody ,
    I am creating a xml in memory and i want to transform using xsl into an html.
    I want to embed some html code also in the data node.But when I get the html it simply writes as it is. I tried to make it cdata section but it did not worked. Pls help.
    crypticashu
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import org.w3c.dom.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    public class mytemp {
         public static void main(String args[])
         DocumentBuilder builder = null;
         Document document = null;
         DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
         try
         builder = factory.newDocumentBuilder();
         document = builder.newDocument();
         catch (ParserConfigurationException e)
         e.printStackTrace();
         Element root = (Element) document.createElement("REPORT");
         document.appendChild(root);
         Node child = document.createElement("DATA");
         CDATASection data = document.createCDATASection("<b>Hello World </b>");
         child.appendChild(data);
         root.appendChild(child);
         document.getDocumentElement().normalize();
         DOMSource domsource = new DOMSource(document);
              TransformerFactory tfactory = TransformerFactory.newInstance();
              File f = new File("c:/mytemp/report.xsl");
              StreamSource xsl = new StreamSource(f);
              File html = new File("c:/myhtml.html");
              try
                   Templates templates = tfactory.newTemplates(xsl);
                   Transformer transformer = templates.newTransformer();
                   transformer.transform(domsource, new StreamResult(html));
              catch(Exception e)
                   e.printStackTrace();
         }

    want to embed some html code also in the data node.But when I get the html it simply writes as it is.That statement contradicts:
    In real application i will be getting data containg html tags.I want the parser to read that data as simple text. Both cannot be true. You either want the HTML to not be parsed or you want the transformer to deal with it. Which one?
    - Saish

  • How to display xml to html using xsl?

    hi all...may i know how to display xml to html page?
    i ve included <xsl:output method="html" indent="yes" /> inside my xsl file. i clicked on output.xml file and everything is displayed correctly but the format is xml instead of html. is there anyway to transform it to html?
    below are my xsl and xml codes:
    // xsl file
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes" />
    <xsl:template match="/">
    <html>
    <body>
    <h2>Document Contents</h2>
    <table border="1">
    <tr bgcolor="#9acd32">
         <th align="center">Document Name</th>     
         <th align="center">Document ID</th>          
         <th align="center">Owner</th>               
    </tr>
    <xsl:for-each select="Document/Contents">
    <tr>
    <td><xsl:value-of select="DocumentName"/></td>
    <td><xsl:value-of select="DocumentID"/></td>
    <td><xsl:value-of select="Originator"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    // xml file
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="xsltStyleSheet.xsl"?>
    <Document>
         <Contents>
              <DocumentName>register</DocumentName>
              <DocumentID>1</DocumentID>
              <Originator>hhh</Originator>
         </Contents>
    </Document>
    </xsl:template></xsl:stylesheet>

    your XSL transforms to HTML (in fact XHTML): what more do you expect? did you expected anything different from the following output? if yes: what and why?
    <html>
         <body>
              <h2>Document Contents</h2>
              <table border="1">
                   <tr bgcolor="#9acd32">
                        <th align="center">Document Name</th>
                        <th align="center">Document ID</th>
                        <th align="center">Owner</th>
                   </tr>
                   <tr>
                        <td>register</td>
                        <td>1</td>
                        <td>hhh</td>
                   </tr>
              </table>
         </body>
    </html>

  • How do I generate HTML from XML & XSL using XSL Processor ?

    I want to generate a HTML from XML & XSL using XDK for C on
    linux-8i.
    I run the XSLSample well.
    But it only generate a XML from a XML & a XSL.
    Can any one give me some advise or sample code?

    Just use HTML tags instead of xml tags in your stylesheet, and
    you'll generate HTML instead.
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <html>
          <body>
            <xsl:for-each select="ROWSET">
              <table border="1" cellspacing="0">
                <xsl:for-each select="ROW">
                  <tr>
                    <td><xsl:value-of select="EMPNO"/></td>
                    <td><xsl:value-of select="ENAME"/></td>
                  </tr>
                </xsl:for-each>
              </table>
            </xsl:for-each>
          </body>
        </html>
      </xsl:template>
    </xsl:stylesheet>

  • Using image processor from RAW format to JPEG, the images are suddenly very muted colour, greyish tone, and just awful looking.

    Any ideas as to why, when I am converting a group of images through image processor into JPEG, the resulting images are AWFUL.  I have been using this process for years without a concern, and suddenly the JPEG files are very greyish, muted tones and just terrible looking… HELP!  I'm WAY too busy right now to be dealing with this and having to manually save each image to JPEG

    Which Color Space are the images in?
    What are your Color Settings?

Maybe you are looking for

  • Problem with having several database connection registered in JDEVElOPER

    Hi Thank you for reading my post I have several AS registered in my Jdeveloper environemtn and several database connections. unfortunately some times Jdeveloper can not deploy an application into a server beacause it say that "I failed to create the

  • Error while validating the xml file

    Hello All, DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setValidating(false); DocumentBuilder db = dbf.newDocumentBuilder(); doc = db.parse(new ByteArrayInputStream(xmlString.getBytes())); In this code even though I have set

  • How to Export the material master list using MB51

    Dear All, Please any one help me to export the total materials master list in excel . Regards, Ganesh Patel

  • Upgrade GSS 3.1(2) to 4.1

    Hi I have two GSS. One in side A and one in side B. This in side A is primary and make management function, this in side B is secondary. Site A and B are DC work in active-active. I have version 3.1.2 and I have to upgrade to 4.1 becouse 4.1 work wit

  • Access Photoshop "Help" without launching Adobe AIR?

    Is there a way to access Photoshop Help, from the Help menu, without installing or launching Adobe AIR? I'm not a mobile app developer, plus I've been seeing many security concerns and other problems related to Adobe AIR, like log files filling up ha