Problem inworking of the  XSLT filter

Hi All,
I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
I tried to find the error in the log : Below is the log for the same::
Error##Plain###Cannot instantiate user <anonymous>#
#1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
can anyone please help me in this regard, it is very urgent.
Thanks in advance,
Kavitha.

unanswered

Similar Messages

  • Problem in working with xslt filter

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log : Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
    at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
    at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
    at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
    at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unaswered

  • XML and XSLT Filter Application

    I have a problem with an XSLT filter in EP6 SP2 exact version :
    6.0.2.5.4_ContentManagement_Collaboration
    6.0.2.5.0.Enterprise_Portal_Service_Pack_2
    I have defined an XSL stylesheet as follows in KM Config
    Configuration --> Content Management --> Repository Filters --> XSLT Filter
    name : local_fxrates_xslfilter
    Extensions 
    Formatter 
    MIME Type       text/html
    MIME Types 
    Paths            /webcontent/xml/exchange.xml
    Resource Type 
    Stylesheet       wcm://etc/filter/xsl/exchrates.xsl
    Active       yes
    Priority     1 
    Repositories       feeds
    I have another process that retrieves the appropriate exchange.xml file from a remote source and places it in the
    directory above.  The feeds repository is an fsdb not that it should make any difference.  Now I have a bog standard iview
    thats based on the com.sap.km.cm.docs pointing at the appropriate xml file - the path is the same as above.  This iview
    exists on a page that has a number of other iviews.
    The problem is that periodically I get a server 500 error - a browser refresh ALWAYS makes the problem dissapear and the
    content is then displayed in the correct manner.  This is not an isolated case, any iview I create based on the same
    master and using an XSLT filter to transform some XML content displayes the same behaviour.  To test this I have disabled the XSLT filter and the iview always displays the XML -- all the time everytime leading me to believe that its something to do with the application of the filter ?
    Has anyone else come across this issue before and can point me in the right direction.
    Thanks
    Haydn

    Having been right around the houses now - im confident that both the XSL file and indeed the XML file are correctly constructed and under normal conditions work fine.
    The problem appears to be the CM repository (FSDB mode) being used.  It appears that once an XML file has been changed in the filesystem for whatever reason the first read ALWAYS results in a 500 being thrown.  Subsequent reads are 100% successful until the file is updated again - then the same process begins again. 
    What is even stranger is that if I create a brand new file in the directory (not in portal ui but direct in the FS) I cannot see it in the repository.  BUT if I construct a url to access it in a fresh browser window (which btw works fine) then a refresh of the KM explorer then shows the file - weird huh ?  Of course any actions that occur using the portal UI are also 100% successful.
    If I dont use a CM repository and just use a plain ordinary file system repository - it works faultlessly.
    Haydn

  • Error in XSLT filter.

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing    " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log :   Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
         at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
         at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
         at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
         at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
         at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
         at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
         at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
         at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
         at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
         at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unaswered

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • Problem in rendering the XML using  XSLT in Netscape 7

    Hi there,
    I have used the XSLT to generate HTML codes from the XML datafiles.
    It works fine in Internet Explorer, but when I tried it on Netscape
    7.0 , it just displayed the xml data, without the tags..
    For example,
    In the xml ,I have the following :
    <id>11111111111111112</id>
    <name>adegf1</name>
    <date>Mar 24 2003Jan 01</date>
    In the IE, it was transformed into the html perfectly but
    when i used Netscape 7.0, it was displayed as the following in a single
    line:
    11111111111111112adegf1Mar 24 2003Jan 01
    Can anybody tell me how to overcome this ? Does the problem lie in the xml or the xslt ? I am using XSL Transform version 1.0 and XML version 1.0.
    Thanks in advance !
    Kirk

    Hello,
    The generated XML refers to the XSLT which is in the server.
    So, the browser's parsers affects the output..
    Any sugestions ?
    Thanks !

  • I have to zip pdf files to email them to someone with a PC. The problem is they aren't smaller after zipping and I can't email them. I tried adjusting the Quartz filter to the Reduce file size. Now they're smaller, but the recipient can't read them. Help!

    I need to zip pdf files to email them to a PC user. The problem is file size is not reduced.
    I tried zipping them in Win 7 (which I use via Parallels 7) and sending them to the Finder to email.
    But lately nothing is reduced.  I tried choosing the Reduce File Size option in the Quartz Filter when I save the doc. The file size was reduced. However, the recipient could not read the file. Everything was blurry.
    Is there a solution?

    I am having some PDF sizing issues also, I am a BETA tester for TurboCAD Mac, and with the usage of (public) version 5, I have had some scaling issues. I have had (auto sent) 15 plus crash reports, (available as text) and had posted my scenario within the "lion- problems so far" article, so not to use up extra bandwith- or whatever- there are pictures there. I was not able to upload a PDF on site, and the staff @ Turbo CAd is working on it also. this is Lion specific new update, as I have posted many large format PDF's
    Here (edit to add url)
    Thanks for the helps!
    Johnny

  • Problems with loading / saving settings of the lightening filter

    I've problems with Photoshop CS2 / Windows 2000. If I open the dialog for the lightening filter, the list of the standard-settings is empty. And I can't also save any custom setting.
    In the folder of the filter-settings and all standard-setting-files are available.
    I tried to rename and reinstall the prefs-file and the whole program. But without success.
    What's the reason? File system (NTFS)? User-rights in the file-settings? Registry-entries? Who knows a way to solve this problem?

    Thread.currentThread().getContextClassLoader().getResource(imageFilePath); to load the images than the one you are using right now
    Edited by: Mayya on Jun 17, 2008 4:34 AM

  • Problems using the letterbox filter

    Hello,
    I am having a problem compressing from Final Cut via Compressor into an Mpeg-1 file. I shot (and edited) in 16:9 but the Mpeg-1 files turn out squeezed up in 4:3.
    I was advised that the letterbox filter would be a way round it but when I go into the Inspector window and eventually find a way to stop all the settings being greyed out, when I change them and save them, including selecting letterbox filter, then submit the job, nothing is any different. The finished mpeg is still squeezed into 4:3 with no letterbox.
    Any advice that would help me solve this problem? Unfortunately I don’t know Compressor very well (as is probably obvious) and don’t find it at all easy to work out.
    Many thanks in advance,
    Sasha

    If you're looking at a setting in the Inspector, you're looking at one of two things; the original setting from the "Settings" window-- this one is not modifiable-- or the modifiable copy of that setting that you're using on your asset (the video you're compressing, in the batch window). Click on the setting over your video in the batch window to work with the modifiable version.
    A good "basics of Compressor" tutorial might benefit you. Apple has a few on their website.

  • Hi All, I just installed PS CC 2014 and Deleted PS CS6.  I have a HUGE problem! The Liquify Filter on PS CC 2014 is not working.   When the filter comes up, my photo is reduced to two color fields - bright turquoise and lime green!  Can anyone help me?  I

    Hi Everyone,
    I just deleted PS CS6 and installed PS CC 2014. I'm trying to use the Liquify Filter and it does not work.  When I click on the Liquify Filter, my photo does not appear properly.  The photo appears as two flourescent color fields - bright turquoise and lime green!  Can anyone help me with this?  Also, does anyone know if I can re-install Photoshop CS6?
    Thanks!
    Laraine

    Hi Everyone....I figured it out.  Strangely, although I had NEVER used Liquify in PS CC 2014....I just realized that in Liquify Advanced Mode that the "SHOW MASK" option was on by default!  I unchecked SHOW MASK.  Everything is OK. Whew!  Tks!

  • Has anyone had problems using the Graduated Filter in Lightroom 4.1?

    I have tried many times to get the graduated filter to work on DNG's and any file extensions
    and I am having trouble with it. Anyone with suggestions? I have looked at tutorials and still to no avail
    Cheers
    From DesignJannette

    Can you explain a little bit more ,eventually show us a screenshot ?
    Did you switch it to OFF ? see:
    Frans

  • Error when using "inlist operator" in the query filter of Webi 3.1

    Hi,
    We are currently in the process of migrating Deski to webi (BOXI 3.1).
    The problem is, Deski is using the "inlist" operator which is working fine but after migrating to webi the inlist operator in the query filter is throwing the below error,
    *Error Message :*
    A database error occured. The database error text is: ORA-00907: missing right parenthesis. (WIS 10901)
    Appreciate your assistance on this.
    Thanks !
    Regards,
    Perialt

    Karthik ,
    Yes I am seeing an additional paranthesis in Webi SQL query.
    For example plz consider the product table below,
    SELECT
    Product.ID,
    Product.Name
    FROM Product
    WHERE
    Product.Name IN ( @Prompt('4) Name:','C','Product\Name-M',multi,free)  )
    As a work around in Custom SQL, If I remove the paranthesis the below query is running fine in webi
    SELECT
    Product.ID,
    Product.Name
    FROM Product
    WHERE
      Product.Name IN  @Prompt('4) Name:','C','Product\Name-M',multi,free) 
    But I want a permanent solution.

  • Error in saving .aspx pages after editing the XSLT

    Hi,
    I am developing a SharePoint 2010 web app and I had to do some modifications for a .aspx page which has a data form web part and I am encountering following issues:
    1. After selecting the web part, when trying to modify the filter criteria of the data source, the "group" and "ungroup" buttons are seen as disabled and the option of editing in the XSLT editor is also not visible.
    2. after editing the XSLT, knowing that there are no issues if I try to save it an is showed saying null value issue and asking whether to allow scripts to run in this page r not. After choosing either yes or no, when I try to preview it in browser I get
    an error in the place where I have the data form web part saying error with web part try to edit it in SharePoint editor such as SharePoint designer.
    3. this is happening only i try to edit the code but no matter how many copies I get from the original page, they are correctly previewed in the browser unless I try to edit it.
    your kind support or suggestions are highly appreciated as I am unable to fix this
    thanks.

    Data you are changing is on the frontend. You need to pass data to backend (server). The static method 'dispatch' of control framework class (CL_GUI_CFW) is used to do this 'manual' synchronization. It is sort of helper method of control framework (which is basis for ALV controls) and is independent of ALV controls (cl_gui_alv_grid etc.) that are used.
    Try putting this code as suggested and check.
    short code would be (without error handling)
    CL_GUI_CFW=>DISPATCH( ).
    null

  • Issues with the Custom Filter in Datasheet View

    I'm seeing some odd, yet intermittent, behavior while trying to filter columns in datasheet view using a custom filter. After clicking to apply a filter to a column and choosing 'Custom Filter...' a pop-up with regular expressions should appear much like
    the following screenshot:
    However sometimes, usually on a page refresh, this pops up instead:
    I have been able to replicate this sporadically in both IE 8 and 9 against different columns but it's really inconsistent. I can't seem to find any configuration issues or commonality across the clients that might be responsible. Local installations of Office
    are 32bit. I know 64bit has been known to cause some issues. I wanted to see if anyone else has run into this issue at all or perhaps it has been addressed in a more recent CU than what I am running (14.0.6117.5002). Any insight would be much appreciated,
    thanks in advance.

    Hello all
    We get this as well on one computer in the office. It seems to be more of an MS Office issue than a Sharepoint issue specifically the "Microsoft Office List 14.0" ActiveX add in.
    On one computer that has Office 2010, when "Edit in Datasheet" is clicked within a Sharepoint list the MS office list 14 ActiveX is called and the custom filter options appear with the missing combo boxes like in the picture at the top. I've found this is
    reproducible by simply doing:
    1.  Visit a Sharepoint list
    2. Actions > Edit in Datasheet
    (If you click one of the drop downs at this point and choose Custom filter it will open as expected)
    3. Actions > Show in standard view
    4. Actions > Edit in Datasheet
    5. Click one of the drop downs, choose Custom filter and the problem will occur
    The only way to make the option reappear is to close down IE and reopen it. You'll then get one more go with point 1 and 2 above before the problem will reoccur again after changing the view using Actions.
    Anyone using Office 2007 doesn't seem to have this problem however this uses a different version of the control namely "Microsoft Office List 12.0"
    Uninstalling Office 2010 and reinstalling it seems to fix it for a bit but the problem will soon come back. Strangely it won't come back straight away but when it does its easy to reproduce following the above steps.
    Testing this on another computer that just happens to have Office 2010 and Sharepoint Designer 2007 installed the problem does not occur however when the ActiveX is called for the Sharepoint list it just happens to invoke the Office List 12 version despite
    the fact both versions are available on the machine.
    This probably happens because Sharepoint Designer was installed after Office 2010 was installed on the machine so has updated the registry to call the older version which seems to be problem free.
    ActiveX files
    Microsoft Office List 12.0 = C:\Program Files\Microsoft Office\Office12\STSLIST.DLL
    Microsoft Office List 14.0 = C:\Program Files\Microsoft Office\Office14\STSLIST.DLL
    Version 14.0.6015.1000 - came with Office 2010 with SP1
    I've tried patching version 14.0 STSLIST.dll to:
    14.0.6130.5000 (KB2589349)
    14.0.6137.5000
    (KB2760804) - 9th April 2013 and is the newest I could find at the time.
    Edit as I'm typing this: Just found http://support.microsoft.com/kb/2817403 which is dated 11th June 2013 but doesn't mention any fix for this problem.
    I've tried installing the Sharepoint services support components using the Sharepoint Designer installer package as below:
    This includes the STSLIST.dll version 12.0 and updates the registry accordingly so that this component is referenced and does seem to fix the problem.
    Unfortunately for me, when I checked back later the browser had reverted back to using the 14.0 component for reason I can't explain. Perhaps a Windows update came through and "adjusted" the registry settings to use the newer version. Unfortunately any attempt
    at deleting the 14.0 file simply recreates it when "Edit in Datasheet" is choosen.
    It would be great to get a proper fix for this instead of having to try and force the computer to use the older component!

  • Problem in formatting with XSLT

    Hi -
    I am using xslt to format my xml file. Below is teh code that i worte. The structure and teh xslt file are both shown below. The airport has an attribute called name. The problem is while displaying the text in the record element, I should also display the airport name. Can you please let me know how to do this? The code that I used in my xslt which is <xsl:value-of select="root/state/city/airport/@apt_ident" />
    prints the same value for all the records.
    <root>
         <state>
              <city>
                   <airport>
                        <record/>
                        <record/>
                        <record/>
                   <airport/>
                   <airport>
                        <record/>
                        <record/>
                        <record/>
                   <airport/>
              </city>
              <city>
                   <airport/>
                        <record/>
                        <record/>
                        <record/>
                   <airport/>
                   <airport>
                        <record/>
                        <record/>
                        <record/>
                   <airport/>
              </city>
         </state>
         <state>
         </state>
         <state>
         </state>
    </root>
    // The xslt file
    <xsl:template match="/">
      <html>
      <body>
      <table border="1" bordercolor="white" cellspacing="0" width="100%" style="font-family: Tahoma; font-size: 8pt;" >
      <th align="Left">Airport ID</th>
      <th align="Left">Title1</th>
      <th align="Left">Title 2</th>
         <xsl:for-each select="root/state_code">
         <xsl:for-each select="./city_name">
         <xsl:for-each select="./airport_name">
         <xsl:for-each select="./record">
    <tr>          <td><xsl:value-of select="root/state/city/airport/@apt_ident" /></td>
              <td><xsl:value-of select="chart" /></td>
              <td><xsl:value-of select="flight" /></td>
    </tr>
         </xsl:for-each>
         </xsl:for-each>
         </xsl:for-each>
         </xsl:for-each>
         </table>
         </body>
         </html>
    </xsl:template>

    Ok...I think you have a little bit bigger issue...I am not sure (cause I didn't test it), but I do not think you need to do the nested loops..Once you loop over state you have a elements of "state" available for you to manipulate.
    try this (and I apologize if it is wrong)
    <xsl:template match="/"> 
    <html> 
    <body> 
    <table border="1" bordercolor="white" cellspacing="0" width="100%" style="font-family: Tahoma; font-size: 8pt;" > 
    <th align="Left">Airport ID</th> 
    <th align="Left">Title1</th> 
    <th align="Left">Title 2</th>     
    <xsl:for-each select="root/state_code">
    <tr>     
    <td><xsl:value-of select="state/city/airport/@apt_ident" /></td>
    <td><xsl:value-of select="chart" /></td>
    <td><xsl:value-of select="flight" /></td></tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    </xsl:template>

Maybe you are looking for

  • Snow Leopard Boot Camp Install Woes

    I'm having some trouble installing boot camp. I have a MBP 2.2 and I have just installed OS 10.6 and I am trying to reinstall my boot camp partition. I am using an HP external USB DVD drive (which has been used to installed boot camp successfully in

  • Why will Firefox 3.6.3 not open Quicktime files from the Apple Website on a Mac OS X 10.6.3?

    While trying to view the Iphone 4 page on Apple, firefax will not open the quicktime video. But Safari will open this file. Why? == URL of affected sites == http://www.apple.com/uk/iphone/features.html#design-video

  • 5.5 Gen TV/iPod Help please

    I just got a new Ipod on May 23,2007 it is a 5.5 Gen Ipod and i got a Belkin Retractable TV/iPod Cable to go with. It doesn't seem to work i have tried everything. I have tried to switch the TV thing to "on" im in NTSC. I have tried both wide screen

  • How do I get rid of the search Yahoo and get my Google back as default?

    Nothing I do gets rid of Yahoo, it is like a bad penny, keeps coming back. I have always had Google and now Yahoo has taken over and will not leave

  • MacBook Pro slower than iMac wifi

    My MacBook Pro (2 yrs old), is MUCH slower on our wifi network, than my imac (5 yrs old). The MBP is actually closer to the router, and when I run speedtest.net, the imac is showing better/faster results than the MBP. Any ideas would be great. thanks