Xml forn not displaying

hi all,
   I have created xml form in one server and import that xml form in another server. the xml form is coming in the etc folder(/etc/xmlforms). but I am not able to create new form. ie. (New/Forms/) . the xml form is not displaying. ( i dont want to generate xml form . when i generate the xml form it is displaying in the New/Forms section )  how to display the xml form in the New/Forms  section without generating it.
Regards,
Shanthakumar.

hey try out this link it may help you
http://www.judahfrangipane.com/blog/2007/01/01/error-2044-unhandled-ioerrorevent-texterror -2038-file-io-error/
thanks & regards
gajanan
[email protected]

Similar Messages

  • XML attribute not displayed by stylesheet

    HI Gentlemen,
    I set up a very simple case where some of the input data is in attributes. It works fine for the element content--firstname, however it does not display the attribute requested. What can be wrong? Please help!
    Thanks, regards
    Miklos
    The XML instance (people.xml):
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="c:\XSL\people.xsl"?>
    <people>
    <person born="1912" died="1948">
    <name>
    <firstname>Alan</firstname>
    </name>
    </person>
    </people>
    The corresponding stylesheet (people.xsl):
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="person">
    <person born="{born}" />
    </xsl:template>
    </xsl:stylesheet>

    Are you opening "people.xml" directly in a web browser?
    If so, I think you need to transform to HTML for a proper display.
    For example :
    people.xml
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="file://c:/XSL/people.xsl"?>
    <people>
    <person born="1912" died="1948">
    <name>
    <firstname>Alan</firstname>
    </name>
    </person>
    </people>
    people.xsl
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="person">
      <html>
       <body>
        <p><xsl:text>First name = </xsl:text><xsl:value-of select="name/firstname"/></p>
        <p><xsl:text>Born = </xsl:text><xsl:value-of select="@born"/></p>
        <p><xsl:text>Died = </xsl:text><xsl:value-of select="@died"/></p>
       </body>
      </html>
    </xsl:template>
    </xsl:stylesheet>Otherwise, you could use any XSLT processor to perform the transformation.

  • KM Repository images,and XML Forms not displaying.

    Hello All,
    I am currently running NW04 SPS14 Portal with KM & Collaboration.
    However, the icons in the Content Management>> Explorer>> Documents repository are not displaying. Instead a little while box, with a red x sign appears in place of the images.
    When I launch the XML Forms builder, the application doesnt load.
    Also, the content developed using XML forms are no longer displaying, instead I get an error message "<b>Resource cannot be displayed with XML Resource Renderer</b>"
    I will appreciate any suggestion that will help to resolve this problem.
    Thank you.
    Regards,
    Collins.

    Hi Collins
    Have u got any solution to your problem .  Could you please share the solution to this problem
    Thanks
    Prasad

  • Xml file not displaying.

    Hello all,
    Pls i am trying to work on an example that displays some pics in form of slide show. Everything worked fine till i got to a point of displaying the content of an xml file. I tried all i could but things did not work out. someone pls help, i am frustrated. Below re my codes.
    test.xml
    <?xml version="1.0"?>
    <wedshow>
    <audio source="devpics/mus.mp3 />
    <photo duration="10" source="devpics/test.jpg" />
    <photo duration="20" source="devpics/tes.jpg" />
    <photo duration="20" source="devpics/testA.jpg" />
    </wedshow>
    WedShowPlayer2.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:MyComp="*" layout="absolute" initialize="init();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    private function init():void {
    service.send();
    ]]>
    </mx:Script>
    <mx:HTTPService id="service" url="component/test.xml" resultFormat="e4x" result="show.loadShow(
    XML(event.result) ); show.playShow();" />
    <MyComp:WedShow id="show" width="100%" height="100%" horizontalCenter="0"/>
    </mx:Application>
    WedShow.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import flash.display.Loader;
    [Bindable]
    private var _xml:XML;
    private var photos:ArrayCollection = new ArrayCollection();
    private var sound:Sound;
    private var iLoaded:uint = 1;
    private var isLoaded:Boolean = false;
    private var timer:Timer = new Timer(1000,0);
    private var photoIndex:int = 0;
    private var nextPhotoTime:int = 1;
    public function playShow():void {
    if(isLoaded) {
    play.visible = false;
    timer = new Timer(1000,0);
    timer.addEventListener( TimerEvent.TIMER, onTime );
    timer.start();
    if(sound!=null) {sound.play();}
    } else { loadShow( _xml ); }
    private function onTime( event:TimerEvent ):void {
    if( event.currentTarget.currentCount == nextPhotoTime ) {
    if( photos.length > photoIndex ) {
    image.load(Loader(photos[photoIndex]).content);
    // using e4x to access the photo duration attribute
    nextPhotoTime += int(_xml.photo[photoIndex].@duration);
    photoIndex++;
    } else {
    stopShow();
    public function stopShow():void {
    timer.stop();
    timer.reset();
    image.source="";
    SoundMixer.stopAll();
    photoIndex = 0;
    nextPhotoTime = 1;
    play.visible = true;
    public function loadShow( xml:XML ):void {
    _xml = xml;
    photos = new ArrayCollection();
    iLoaded = 1;
    isLoaded = false;
    photoIndex = 0;
    nextPhotoTime = 1;
    progress.visible = true;
    play.visible = false;
    for each(var photoNode:XML in _xml.photo) {
    var photo:Loader = new Loader();
    photo.load(new URLRequest(photoNode.@source));
    photo.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
    onProgress);
    photo.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    photos.addItem(photo);
    progress.label="Loading Image " + iLoaded +" of " + photos.length + ".";
    private function onProgress( event:ProgressEvent ):void {
    var loaded:Number = 0;
    var total:Number = 0;
    if(iLoaded<photos.length) {
    for each(var item:Loader in photos) {
    loaded += item.contentLoaderInfo.bytesLoaded;
    total += item.contentLoaderInfo.bytesTotal;
    } else {
    loaded = event.bytesLoaded;
    total = event.bytesTotal;
    progress.setProgress(loaded,total);
    private function onComplete( event:Event ):void {
    if(iLoaded<photos.length) {
    iLoaded++;
    progress.label="Loading Image " + iLoaded + "of" +
    photos.length;
    } else if (sound==null && _xml.audio[0].@source!="") {
    sound = new Sound();
    sound.addEventListener(ProgressEvent.PROGRESS, onProgress);
    sound.addEventListener(Event.COMPLETE, onComplete);
    sound.load(new URLRequest(_xml.audio[0].@source));
    progress.label="Loading Audio";
    } else {
    progress.visible = false;
    play.visible = true;
    isLoaded = true;
    ]]>
    </mx:Script>
    <mx:LinkButton id="play" label="Play" horizontalCenter="0" verticalCenter="0" visible="false" color="0xFFFFFF" />
    <mx:ProgressBar id="progress" mode="manual" width="60%" horizontalCenter="0" verticalCenter="0" color="0xFFFFFF" />
    <mx:Image id="image" horizontalCenter="0" verticalCenter="0"/>
    </mx:Canvas>
    anyone pls help
    thanks in anticipation
    [email protected]

    hey try out this link it may help you
    http://www.judahfrangipane.com/blog/2007/01/01/error-2044-unhandled-ioerrorevent-texterror -2038-file-io-error/
    thanks & regards
    gajanan
    [email protected]

  • Some XML customizing not displayed correctly in graphic in PDF form

    Hello,
    we have following problem: We want to create a read-only PDF with an integrated graphic with analytical data.
    The PDF form is created with SFP. Data is extracted and the graphic rendered with the class CL_IGS_CHART_ENGINE.
    We used SAP chart designer and transformed the XML into our string.
    The graphic is displayed in our PDF, but some customizing settings in our XML are neglected, especially the font type, her only courier is displayed. Also some manual positions of legends don't work.
    When I display the chart in the SAP GUI using cl_gui_chart_engine everything works fine, so  I assume that the XML and the  transformation is correct.
    So where is the problem: Mime type? codepage? printing job?
    Thanks and Regards
    Andreas

    Hello,
    I would like to know what type of scenario do you use. Is that WD form? Or offline form?
    Based on the type, you may find your solution here:
    When you need to send a picture into the offline form: another image question - using Regular ABAP not web dynpro and Display a logo dynamically in adobe form
    For the WD form: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    What MIME type (picture type) has your generated picture? JPG for example is ok, but for exotic types please check in your LCD (place Image on the layout and open the dialog for picture assignment, you can see the allowed picture types in there).
    Regards, Otto
    p.s.: What is the mentioned XML customizing? XML is the form of the femplate, but I have never customized anything IN THERE. Did you change the XML source manually? Or what type of changes are not managed correctly?

  • Xml page not displayed

    Hi,I amfacing problem in B2B(HTTP-IDOC)scenario.the problem is we posted PO through XI to vendor .XI processed successfylly. but here the probelm is , in SXMB_MONI in the place Response i am getting below message PAGE CANNOT BE DISPLAYED. but my peer geeting correctly . he is in US. i am in india. Actually  i dont have access to internet. Is this reason?or my machine problem or any other reason.?
    <b>The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Access is denied. Error processing resource 'http://xml.cxml.org/schemas/cXML/1.2.011/cXML.dtd'.
    </b>

    Hay Reddy,
    I came across this error on two occasions, in one it was an internet explorer issuse (XI is using the IE for the display) once i upgraded the internet explorer the problem wa solved.
    the second time was when my payload was not a legitimate XML syntaxso it wouldn't display it.
    check out for both these errors.
    have a good one,
    Uri.

  • JSTL unicode xml does not display after x:parse call

    I am trying to display an xml file on the web using JSTL xml tags. The file is encoded in utf-8 containing ancient Greek characters (x1f92, etc.). The file displays properly from a servlet + xslt (http://163.1.169.41/testapp), but I want to use JSTL.
    The JSTL produces intricate spaghetti on the screen (e.g. ��������������� ). I have seen this before --it would seem that unicode is indeed being directed at the screen but is not being interpreted properly. (Not strings of question marks mind you; the unicode seems to be there in this case).
    The code producing the spaghetti is below. I am just dumping in on the screen for now and will use xpath calls later for more precise extraction.
    Does the JSTL want character entities for the x arse call? I would not think so: parsing a utf-8 file would be a very common operation. How can I get the xml unicode file to display properly using the JSTL below?
    [headers]
    <%@ page contentType="text/html; charset=utf-8"pageEncoding="utf-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <c:import var="papyrus" url="blabula.xml" />
    <x:parse var="doc" xml="${papyrus}" />
    <x:out select="$doc" />
    ....

    Is it the parse or the import tag that is at fault?
    Try just printing the results of the <c:import> and see what it produces.
    you might try <c:import var="papyrus" url="blabula.xml" charEncoding="utf-8" />

  • Help needed - XML forms not displaying in my repository

    Hi all
    I could really do with some help here.  I have a custom XML form for news articles.  It works fine in the standard documents repository, but I have my iView pointing to a folder in my own CM repository.
    When a user tries to directly access the "show" form, instead of the form it displays the XML code.  Any ideas why this is?
    My CM repository is running the following services:
    layout, properties, svc_acl, tbp
    EP6SP14
    Thanks!  Chris

    Hello,
    I have the same problem. When I'm trying to create an XML file using XML form in the repository /etc, I get the following error:
    XML - Forms 
    Cannot create item e0977870-cf29-2d10-bb89-d00b5761268c.xml in collection /etc/public/; operation is not supported.
    When I do the same in repository /documents, it works fine.
    I think, I've made the neccesary settings for the repository (Form Based Publishing, ...).
    Any clues will be highly appreciated.
    Jiri

  • XML data not displayed on external applications (Adobe, PowerPoint, Word)

    Hi,
    I have imported an XML file into Xcelsius using the XML data connection button in Xcelsius 2008 SP1.
    I would like to test whether the model is correctly picking up the data when XML file is updated.
    The XML file is stored locally on my PC.
    I'm able to view and refresh the data in Preview mode and in the .SWF file but when exporting to Adobe, PowerPoint or Word, I get #2148 error on opening.
    I did add the path to the swf file and xml file in the Flash Player security settings with no success.
    Any suggestions welcome
    Best regards,
    Jenni Jacob

    Hi Jenni,
    Adobe PDF usually works because like Xcelsius it allows the SWF to load data from anywhere so I am not sure why that one would not work...
    When you export to PowerPoint or Word that probably counts as a different SWF so try adding the folder where the PPT/DOC lives as trusted instead.
    When I am in a VM I tend to add C:\ folder as trusted (meaning I can run a SWF anywhere on my C drive in the VM with trusted permissions).
    Regards,
    Matt

  • XML data not displayed with XSL

    I have just started learning XML so bear with me. I have a xml document that I created and want to use a stylesheet to display it in html but it doesn't seem to be working. Here is the xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet href="XSL\myXSL.xsl" type="text/xsl"?>
    <GstBk:Book xmlns:GstBk="http://www.testurl.com">
    <GstBk:Guest>
    <GstBk:Address>
    <GstBk:Name>John Doe</GstBk:Name><GstBk:From>Anywhere USA</GstBk:From>
    </GstBk:Address>
    </GstBk:Guest>
    </GstBk:Book>
    And here is the xsl document:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:GstBk="http://www.testurl.com"
    version="1.0"
    >
    <xsl:template match="GstBk:Book">
    <html>
    <head>
    <title>Guest Book</title>
    </head>
    <body>
    <xsl:apply-templates />
    </body>
    </html>
    </xsl:template>
    <xsl:template match="GstBk:Guest">
    Name = <xsl:value-of select="GstBk:Name" />
    </xsl:template>
    </xsl:stylesheet>
    But the only data I get on the browser is:
    Name =
    Can anyone see something wrong with my files? I have downloaded examples from the net and they seem to work. I even compared them to my files and can't see anything obviously different. Any ideas?
    Thanks

    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
                    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:GstBk="http://www.testurl.com">
       <xsl:template match="GstBk:Book">
          <html>
             <head>
                <title>Guest Book</title>
             </head>
             <body>
                <xsl:apply-templates />
             </body>
          </html>
       </xsl:template>
       <xsl:template match="GstBk:Guest">
          Name = <xsl:value-of select="GstBk:Address/GstBk:Name" />
       </xsl:template>
    </xsl:stylesheet>This style sheet with the xml you provided works for me. I use Xalan 2.1.0 for the transformation with the command line: java org.apache.xalan.xslt.Process -in your.xml -xsl your.xsl
    and I get this for the output:
    <html xmlns:GstBk="http://www.testurl.com">
    <head>
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Guest Book</title>
    </head>
    <body>
          Name = John Doe
    </body>
    </html>If you still see a different result, let me know what your environment is.

  • HTML entity codes in XML do not display in IE browsers

    I have an XML file generated via PHP/MySQL that contains HTML entities like " &sup2; ". I'm using DW CS3 to create a Spry (1.6.1) dataset from the XML file and filling a Spry table.
    If I open the table page in any IE browser (6, 7 or 8) the table is filled and displays OK but these characters are just missing, however, I can open this same page with the same Spry dataset in Firefox, Safari, Opera, Chrome, etc. and all characters are displayed correctly, it's just IE that refuses to play.
    I've tried changing DTDs and UTF8 page encoding, nothing seems to make a difference.
    Any suggestions greatly appreciated  [ I can feel wrist slitting time approaching ... ] 

    Hi Phil, it works!
    Many thanks for your suggestions, they certainly helped solve the problem. I had previously tried wrapping in CDATA but I just got the entity codes displayed as text and sort of gave up looking there.  
    The solution is to use CDATA to wrap the relevant content AND to format the column type to "html" with set "ColumnType".
    I also found that Entity declarations can be removed from the XML, so I shouldn't have to worry about any entity codes I might encounter in source data.
    The site I'm working on will eventually be multilingual with supplied database content, so I can't control the source data and all site features must work equally well in all languages.
    I've updated the sample file with some Russian source data and set both character columns to "html", it works just fine! It shouldn't matter which method gets used to insert any special characters.
    http://www.tech-nique.co.uk/development/spry_data/spry-data-table.php
    many thanks for all responses, much appreciated!
    [ every day's a school day ~;o) ]

  • Xml images not displaying

    I'm having an issue displaying images from an xml file. It's
    a portfolio site, so basically it displays text and an image. All
    the text is working just fine, but for some reason the image (and
    the whole app) won't display when the image code is added.
    Here's my code:
    <mx:XML id=" portfolioXML"
    source="portfolio.xml" />
    <mx:XMLListCollection id="interActXMLList"
    source="{ portfolioXML.interactive.label}" />
    <mx:List id="interActList"
    dataProvider="{interActXMLList}"
    width="253" height="103" />
    <mx:Number
    id="selectedWorkIndex">{interActList.selectedIndex}</mx:Number>
    <mx:Text
    id="titleInput"
    text="{ portfolioXML.interactive[selectedWorkIndex].title}"
    width="446" />
    <mx:Text
    id="description"
    text="{
    portfolioXML.interactive[selectedWorkIndex].shortDesc}"
    height="101" width="446" />
    <!-- this causes the whole thing to crash
    <mx:Image
    source="{
    portfolioXML.interactive[selectedWorkIndex].image}" />
    -->
    xml looks like this:
    <portfolio>
    <interactive>
    <label>The Item</label>
    <title>The Item Title</title>
    <shortDesc>The item is totally
    awesome.</shortDesc>
    <image>
    http://www.example.com/images/interactive/item.png</image>
    </interactive>
    </portfolio>
    The url is correct (it works when I hard code it). Anyone
    know why the images aren't working??

    "cdub" <[email protected]> wrote in message
    news:ggsput$816$[email protected]..
    > I'm having an issue displaying images from an xml file.
    It's a portfolio
    > site,
    > so basically it displays text and an image. All the text
    is working just
    > fine,
    > but for some reason the image (and the whole app) won't
    display when the
    > image
    > code is added.
    >
    > Here's my code:
    >
    > <mx:XML id=" portfolioXML"
    > source="portfolio.xml" />
    >
    > <mx:XMLListCollection id="interActXMLList"
    > source="{ portfolioXML.interactive.label}" />
    >
    > <mx:List id="interActList"
    > dataProvider="{interActXMLList}"
    > width="253" height="103" />
    >
    > <mx:Number
    id="selectedWorkIndex">{interActList.selectedIndex}</mx:Number>
    >
    > <mx:Text
    > id="titleInput"
    > text="{
    portfolioXML.interactive[selectedWorkIndex].title}"
    > width="446" />
    >
    > <mx:Text
    > id="description"
    > text="{
    portfolioXML.interactive[selectedWorkIndex].shortDesc}"
    > height="101" width="446" />
    > <!-- this causes the whole thing to crash
    > <mx:Image
    > source="{
    portfolioXML.interactive[selectedWorkIndex].image}" />
    > -->
    What happens if you use a text object to show the image path
    above? Does
    that still crash the app?
    Also, try replacing the colon (:) in the XML with its url
    encoded version
    (&#58;)
    HTH;
    Amy

  • XML Dataset not displaying on any browser

    I searched the last six or so pages for a simular issue and came up empty handed so please forgive me if I'm bringing up an old or repeated problem. I assume the issue I'm facing is the result of some small (or large) mistep on my end but have yet to figure it out.
    When I created the xml data set from my local server i pulled the data from my database online using the php code for xml provided at adobe labs. You can see the example here: http://kannabooh.ty7.net/includes/xml_create.php. Everything was great and the data loaded in the preview. I created a Master Details Layout using the wizard but when I tested the page or uploaded to the site no data would appear. I've tried multiple browsers, versions and also reloading the data in multiple layout types with no luck.
    Any help would be greatly appreciated you can see the example here: http://kannabooh.ty7.net/schedule.php.

    So just so I understand you do see the template tags. Do you also see the data that is brought in from the file http://kannabooh.ty7.net/includes/xml_create.php because I see the tags but then when the page is completly loaded they disapear and are not replaced with the data I want loaded. Thats my main concern and I worry that its something I'm doing wrong because none of the browsers I'm using show that data. I see the field names that should be populated, their just not being populated. I hope that clears up my concerns.
    Currently Im testing on both Windows XP and 7 on my test server I'm using PHP5. Hope that helps.
     Tyger Burch
    Founder,
    Ty7 Web Services, LLC. (www.ty7.net)
    Digital Grime Hip Hop Social Network (www.digitalgrime.com)

  • Xml not displaying because of & symbol

    Hi there
    I have an issue with an xml file not displaying ..the reason
    is the & symbol in the xml file. I created a scoreboard xml
    file ..however when Texas A&M was inputted ..it does not
    display any information in the xml file ..when removed ..it
    displays fine.
    Is there a code I can incorporate info the xsl file to over
    right the & symbol so it still displays? Any help would be
    greatly appreciated. Below is the working xml file ..and the xsl
    file ..thanks Rob
    <xsl:stylesheet version="1.0" exclude-result-prefixes="xsl
    ddwrt msxsl" xmlns:ddwrt="
    http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
    xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:ddwrt2="urn:frontpage:internal">
    <xsl:param name="dvt_adhocmode"></xsl:param>
    <xsl:param
    name="dvt_adhocfiltermode">xsl</xsl:param>
    <xsl:param name="dvt_fieldsort"></xsl:param>
    <xsl:param name="dvt_sortfield"></xsl:param>
    <xsl:param name="dvt_groupfield"></xsl:param>
    <xsl:param name="dvt_groupdisplay"></xsl:param>
    <xsl:param
    name="dvt_sortdir">ascending</xsl:param>
    <xsl:param
    name="dvt_groupdir">ascending</xsl:param>
    <xsl:param name="dvt_grouptype"></xsl:param>
    <xsl:param name="dvt_sorttype">text</xsl:param>
    <xsl:param
    name="dvt_groupsorttype">text</xsl:param>
    <xsl:param name="dvt_filterfield"></xsl:param>
    <xsl:param name="dvt_filterval"></xsl:param>
    <xsl:param name="dvt_filtertype"></xsl:param>
    <xsl:param name="dvt_firstrow">1</xsl:param>
    <xsl:param name="dvt_nextpagedata"></xsl:param>
    <xsl:param name="dvt_apos">'</xsl:param>
    <xsl:param name="filterParam"></xsl:param>
    <xsl:template match="/">
    <xsl:call-template name="dvt_1"/>
    </xsl:template>
    <xsl:template name="dvt_1">
    <xsl:variable
    name="StyleName">Table</xsl:variable>
    <xsl:variable name="Rows" select="/channel/item"/>
    <xsl:variable name="RowCount" select="count($Rows)"/>
    <xsl:variable name="IsEmpty" select="$RowCount = 0"/>
    <xsl:choose>
    <xsl:when test="$IsEmpty">
    <xsl:call-template name="dvt_1.empty"/>
    </xsl:when>
    <xsl:otherwise>
    <table border="0" width="100%" cellpadding="2"
    cellspacing="0">
    <tr valign="top">
    <th class="ms-vh" nowrap="nowrap" style="text-align:
    left; font-family: Verdana; font-size: small; color: #FFFFFF;
    width: 56px; background-color: #800000">Date</th>
    <th class="ms-vh" nowrap="nowrap" style="text-align:
    left; font-family: Verdana; font-size: small; color: #FFFFFF;
    width: 122px; background-color: #800000">Sport</th>
    <th class="ms-vh" nowrap="nowrap" style="text-align:
    left; font-family: Verdana; font-size: small; color: #FFFFFF;
    background-color: #800000">Final Score</th></tr>
    <xsl:call-template name="dvt_1.body">
    <xsl:with-param name="Rows" select="$Rows"/>
    <xsl:with-param name="FirstRow" select="1"/>
    <xsl:with-param name="LastRow" select="$RowCount"/>
    </xsl:call-template>
    </table>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template name="dvt_1.body">
    <xsl:param name="Rows"/>
    <xsl:param name="FirstRow"/>
    <xsl:param name="LastRow"/>
    <xsl:for-each select="$Rows">
    <xsl:sort select="date" order="ascending" />
    <xsl:sort select="title" order="descending" />
    <xsl:variable name="KeepItemsTogether"
    select="false()"/>
    <xsl:variable name="HideGroupDetail"
    select="false()"/>
    <xsl:variable name="GroupStyle" select="'auto'"/>
    <xsl:if test="true()">
    <xsl:if test="not($HideGroupDetail)"
    ddwrt:cf_ignore="1">
    <tr style="display:{$GroupStyle}">
    <td class="ms-vb" style="text-align: left; font-family:
    Verdana; font-size: xx-small; width: 56px; border: 1px solid
    #000000">
    <xsl:value-of select="date"/>
    </td>
    <td class="ms-vb" style="text-align: left; font-family:
    Verdana; font-size: xx-small; width: 122px; border: 1px solid
    #000000">
    <strong><xsl:value-of select="title"
    /></strong></td>
    <td class="ms-vb" style="text-align: left; font-family:
    Verdana; font-size: xx-small; border: 1px solid #000000">
    <strong><xsl:value-of select="description"
    /></strong></td></tr>
    </xsl:if>
    </xsl:if>
    </xsl:for-each>
    </xsl:template>
    <xsl:template name="dvt_1.empty">
    <xsl:variable name="ViewEmptyText">There are no items
    to show in this view.</xsl:variable>
    <table border="0" width="100%">
    <tr>
    <td class="ms-vb">
    <xsl:value-of select="$ViewEmptyText"/>
    </td>
    </tr>
    </table>
    </xsl:template>
    </xsl:stylesheet>
    <?xml version="1.0" encoding="iso-8859-1"?>
    <channel>
    <title>Sports Scores</title>
    <ttl></ttl>
    <link></link>
    <description>Latest Scores</description>
    <language></language>
    <pubDate></pubDate>
    <item>
    <title>College Football</title>
    <date>31AUG07</date>
    <description>Eastern Washington 52 - Montana-Western
    13</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Carroll 17 - Black Hills State
    0</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Carroll College 17 - Black Hills St.
    0</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Eastern Washington 52 - Western
    13</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Montana 37 - S. Utah
    17</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Montana 37 - Southern Utah
    17</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>MSU Northern 18 - Dickenson St.
    10</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Northern 18 - Dickinson State
    10</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Rocky 21 - Minot State
    9</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Southern Oregon 45 - Eastern Oregon 42
    (OT)</description>
    </item>
    <item>
    <title>College Football</title>
    <date>01SEP07</date>
    <description>Texas AM 38 - Montana St.
    7</description>
    </item>
    </channel>

    A&amp;M
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "satjack1" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi there
    >
    > I have an issue with an xml file not displaying ..the
    reason is the &
    > symbol
    > in the xml file. I created a scoreboard xml file
    ..however when Texas A&M
    > was
    > inputted ..it does not display any information in the
    xml file ..when
    > removed
    > ..it displays fine.
    >
    > Is there a code I can incorporate info the xsl file to
    over right the &
    > symbol
    > so it still displays? Any help would be greatly
    appreciated. Below is
    > the
    > working xml file ..and the xsl file ..thanks Rob
    >
    > <xsl:stylesheet version="1.0"
    exclude-result-prefixes="xsl ddwrt msxsl"
    > xmlns:ddwrt="
    http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
    > xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform"
    > xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    > xmlns:ddwrt2="urn:frontpage:internal">
    > <xsl:param name="dvt_adhocmode"></xsl:param>
    > <xsl:param
    name="dvt_adhocfiltermode">xsl</xsl:param>
    > <xsl:param name="dvt_fieldsort"></xsl:param>
    > <xsl:param name="dvt_sortfield"></xsl:param>
    > <xsl:param
    name="dvt_groupfield"></xsl:param>
    > <xsl:param
    name="dvt_groupdisplay"></xsl:param>
    > <xsl:param
    name="dvt_sortdir">ascending</xsl:param>
    > <xsl:param
    name="dvt_groupdir">ascending</xsl:param>
    > <xsl:param name="dvt_grouptype"></xsl:param>
    > <xsl:param
    name="dvt_sorttype">text</xsl:param>
    > <xsl:param
    name="dvt_groupsorttype">text</xsl:param>
    > <xsl:param
    name="dvt_filterfield"></xsl:param>
    > <xsl:param name="dvt_filterval"></xsl:param>
    > <xsl:param
    name="dvt_filtertype"></xsl:param>
    > <xsl:param name="dvt_firstrow">1</xsl:param>
    > <xsl:param
    name="dvt_nextpagedata"></xsl:param>
    > <xsl:param name="dvt_apos">'</xsl:param>
    > <xsl:param name="filterParam"></xsl:param>
    > <xsl:template match="/">
    > <xsl:call-template name="dvt_1"/>
    > </xsl:template>
    > <xsl:template name="dvt_1">
    > <xsl:variable
    name="StyleName">Table</xsl:variable>
    > <xsl:variable name="Rows" select="/channel/item"/>
    > <xsl:variable name="RowCount"
    select="count($Rows)"/>
    > <xsl:variable name="IsEmpty" select="$RowCount =
    0"/>
    > <xsl:choose>
    > <xsl:when test="$IsEmpty">
    > <xsl:call-template name="dvt_1.empty"/>
    > </xsl:when>
    > <xsl:otherwise>
    > <table border="0" width="100%" cellpadding="2"
    cellspacing="0">
    > <tr valign="top">
    > <th class="ms-vh" nowrap="nowrap" style="text-align:
    left; font-family:
    > Verdana; font-size: small; color: #FFFFFF; width: 56px;
    background-color:
    > #800000">Date</th>
    > <th class="ms-vh" nowrap="nowrap" style="text-align:
    left; font-family:
    > Verdana; font-size: small; color: #FFFFFF; width: 122px;
    background-color:
    > #800000">Sport</th>
    > <th class="ms-vh" nowrap="nowrap" style="text-align:
    left; font-family:
    > Verdana; font-size: small; color: #FFFFFF;
    background-color:
    > #800000">Final
    > Score</th></tr>
    > <xsl:call-template name="dvt_1.body">
    > <xsl:with-param name="Rows" select="$Rows"/>
    > <xsl:with-param name="FirstRow" select="1"/>
    > <xsl:with-param name="LastRow"
    select="$RowCount"/>
    > </xsl:call-template>
    > </table>
    > </xsl:otherwise>
    > </xsl:choose>
    > </xsl:template>
    > <xsl:template name="dvt_1.body">
    > <xsl:param name="Rows"/>
    > <xsl:param name="FirstRow"/>
    > <xsl:param name="LastRow"/>
    > <xsl:for-each select="$Rows">
    > <xsl:sort select="date" order="ascending" />
    > <xsl:sort select="title" order="descending" />
    > <xsl:variable name="KeepItemsTogether"
    select="false()"/>
    > <xsl:variable name="HideGroupDetail"
    select="false()"/>
    > <xsl:variable name="GroupStyle" select="'auto'"/>
    > <xsl:if test="true()">
    > <xsl:if test="not($HideGroupDetail)"
    ddwrt:cf_ignore="1">
    > <tr style="display:{$GroupStyle}">
    > <td class="ms-vb" style="text-align: left;
    font-family: Verdana;
    > font-size: xx-small; width: 56px; border: 1px solid
    #000000">
    > <xsl:value-of select="date"/>
    > </td>
    > <td class="ms-vb" style="text-align: left;
    font-family: Verdana;
    > font-size: xx-small; width: 122px; border: 1px solid
    #000000">
    >
    <xsl:value-of select="title" /></td>
    > <td class="ms-vb" style="text-align: left;
    font-family: Verdana;
    > font-size: xx-small; border: 1px solid #000000">
    >
    <xsl:value-of select="description"
    /></td></tr>
    > </xsl:if>
    > </xsl:if>
    > </xsl:for-each>
    > </xsl:template>
    > <xsl:template name="dvt_1.empty">
    > <xsl:variable name="ViewEmptyText">There are no
    items to show in this
    > view.</xsl:variable>
    > <table border="0" width="100%">
    > <tr>
    > <td class="ms-vb">
    > <xsl:value-of select="$ViewEmptyText"/>
    > </td>
    > </tr>
    > </table>
    > </xsl:template>
    > </xsl:stylesheet>
    >
    >
    >
    > <?xml version="1.0" encoding="iso-8859-1"?>
    > <channel>
    > <title>Sports Scores</title>
    > <ttl></ttl>
    > <link></link>
    > <description>Latest Scores</description>
    > <language></language>
    > <pubDate></pubDate>
    > <item>
    > <title>College Football</title>
    > <date>31AUG07</date>
    > <description>Eastern Washington 52 -
    Montana-Western
    > 13</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Carroll 17 - Black Hills State
    0</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Carroll College 17 - Black Hills St.
    0</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Eastern Washington 52 - Western
    13</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Montana 37 - S. Utah
    17</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Montana 37 - Southern Utah
    17</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>MSU Northern 18 - Dickenson St.
    10</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Northern 18 - Dickinson State
    10</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Rocky 21 - Minot State
    9</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Southern Oregon 45 - Eastern Oregon
    42
    > (OT)</description>
    > </item>
    > <item>
    > <title>College Football</title>
    > <date>01SEP07</date>
    > <description>Texas AM 38 - Montana St.
    7</description>
    > </item>
    > </channel>
    >
    >
    >
    >

  • DataGrid does not display XML data

    Hello, and thanks for reading this...
    I am having a problem displaying XMLList data in a DataGrid.
    The data is coming from a Tree control, which is receiving it
    from a database using HTTPService.
    The data is a list of "Job Orders" from a MySQL database,
    being formatted as XML by a PHP page.
    If it would be helpful to see the actual XML, a sample is
    here:
    http://www.anaheimwib.com/_login/get_all_orders_test2.php
    All is going well until I get to the DataGrid, which doesn't
    display the data, although I know it is there as I can see it in
    debug mode. I've checked the dataField property of the appropriate
    DataGrid column, and it appears correct.
    Following is a summary of the relevant code.
    ...An HTTPService named "get_all_job_orders" retrieves
    records from a MySQL database via PHP...
    ...Results are formatted as E4X:
    HTTPService resultFormat="e4x"
    ...An XMLListCollection's source property is set to the
    returned E4X XML results:
    ...The "order" node is what is being used as the top-level of
    the XML data.
    <mx:XMLListCollection id="jobOrdersReviewXMLList"
    source="{get_all_job_orders.lastResult.order}"/>
    ...The "jobOrdersReviewXMLList" collection is assigned to be
    the dataProvider property of a Tree list, using the @name syntax to
    display the nodes correctly, and a change event function is defined
    to add the records to a DataGrid on a separate Component for
    viewing the XML records:
    <mx:Tree dataProvider="{jobOrdersReviewXMLList}"
    labelField="@name"
    change="jobPosForm.addTreePositionsToDG(event)"/>
    ...Here is the relevant "jobPosForm" code (the Job Positions
    Form, a separate Component based on a Form) :
    ...A variable is declared:
    [Bindable]
    public var positionsArray:XMLList;
    ...The variable is initialized on CreationComplete event of
    the Form:
    positionsArray = new XMLList;
    ...The Tree's change event function is defined within the
    "jobPosForm" Component.
    ...Clicking on a Tree node fires the Change event.
    ...This passes an event object to the function.
    ...This event object contains the XML from the selected Tree
    node.
    ...The Tree node's XML data is passed into the positionsArray
    XMLList.
    ...This array is the dataProvider for the DataGrid, as you
    will see in the following block.
    public function addTreePositionsToDG(event:Event):void{
    this.positionsArray = selectedNode.positions.position;
    ...A datagrid has its dataProvider is bound to
    positionsArray.
    ...(I will only show one column defined here for brevity.)
    ...This column has its dataField property set to "POS_TITLE",
    a field in the returned XML record:
    <mx:DataGrid width="100%" variableRowHeight="true"
    height="75%" id="dgPositions"
    dataProvider="{positionsArray}" editable="false">
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Position Title"
    dataField="POS_TITLE"/>
    </mx:columns>
    </mx:DataGrid>
    In debug mode, I can examine the datagrid's dataProvider
    property, and see that the correct XML data from the Tree control
    is present. However, The datagrid does not display the data in any
    of its 6 columns.
    Does anyone have any advice?
    Thanks for your time.

    Hello again,
    I came up with a method of populating the DataGrid from the
    selected Item of a Tree Control which displays complex XML data and
    XML attributes. After the user clicks on a Tree branch, I call this
    function:
    public function addTreePositionsToDG(event:Event):void{
    //Retrieve all "position" nodes from tree.
    //Loop thru each Position.
    //Add Position data to the positionsArray Array Collection.
    //The DataGrid dataprovider is bound to this array, and will
    be updated.
    positionsArray = new ArrayCollection();
    var selectedNode:Object=event.target.selectedItem;//Contains
    entire branch.
    for each (var position:XML in
    selectedNode.positions.position){
    var posArray:Array = new Array();
    posArray.PK_POSITIONID = position.@PK_POSITIONID;
    posArray.FK_ORDERID = position.@FK_ORDERID;
    posArray.POS_TITLE = position.@POS_TITLE;
    posArray.NUM_YOUTH = position.@NUM_YOUTH;
    posArray.AGE_1617 = position.@AGE_1617;
    posArray.AGE_1821 = position.@AGE_1821;
    posArray.HOURS_WK = position.@HOURS_WK;
    posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
    posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
    posArray.JOB_DESCR = position.@JOB_DESCR;
    posArray.DES_SKILLS = position.@DES_SKILLS;
    positionsArray.addItem(posArray);
    So, I just had to manually go through the selected Tree node,
    copy each XML attribute into a simple Array, then ADD this Array to
    an ArrayCollection being used as the DataProvider for the DataGrid.
    It's not elegant, but it works and I don't have to use a Label
    Function, which was getting way too complicated. I still think that
    Flex should have an easier way of doing this. There probably is an
    easier way, but the Flex documentation doesn't provide an easy path
    to it.
    I want to thank you, Tracy, for the all the help. I checked
    out the examples you have at www.cflex.net and they are very
    helpful. I bookmarked the site and will be using it as a resource
    from now on.

Maybe you are looking for

  • How do I view the files on my flash drive?

    I made the switch from PC to Mac and I bought (Dec 2011) a new Macbook Pro; I put all of my files (from PC) on a flash drive and now I want to open/save them on my macbook.  Please explain how I do this. (First time Mac user). Thanks.

  • Mac: is it possible to change playback setting so that it'll still play if I minimize Premiere?

    Hey all To describe my situation; I edit with Premiere and sometimes I want to just check the audio whilst browsing the net or something else. However every time I select an application other than Premiere during playback, it pauses playback, which i

  • Excise accounts

    hi all... in ftxp code do we have to assign separate account key to ecess and higher cess.... if yes from where i can reate ths key.... and where do i have to maintain the accounts for ths key....tell me the transaction or path.... and where i have t

  • Update teminated message after releasing and saving PO

    Hello Friends, After releasing and saving PO in ME29N ...when pressing BACK button...i am getting a pop message with "updated terminated". then i enter...in inbox the below message i am getting. System ID....   DEV Client.......   600 User.....   ABA

  • HT4859 How can I see what I backed to iCloud or iTunes?

    How can I see what is backed up to my iCloud?  Pictures are what I am trying ti find.