How to generate a html file from a xml file with the default Firefox look and feel
Hello
Any xml or xsd file are pretty printed with Mozilla firefox. I would like to generate the equivalent html file, in order to introduce it later in a Word document. Do you use a xslt file ? How can I do this ?
Best regards
I would be remiss if I did not point out that the forum software detected your Firefox as version 17. Is that correct?
Version 17 is not secure; Mozilla discloses [https://www.mozilla.org/security/known-vulnerabilities/firefox.html security flaws] after each new release. Is something holding you back from upgrading to Firefox 31? Please let us know so we can suggest solutions or workarounds.
If Help > About Firefox shows Firefox 31, you may need to clear the preference that is misreporting your version number. See: [[Websites say that Firefox is outdated or incompatible even though it's the latest version]].
Similar Messages
-
Loading an xml file from an xml file
I'm trying to load an xml file from an xml file, but I'm
having problems. My first xml file is really simple - it only
contains one attribute with the name of another xml file in it
(eventually I will have multiple xml files in here and run a loop
on them...this is why I want to load an xml file from an xml file).
Currently, with the code below, I can get the main xml file
to load ("main.xml"), but I cannot get the secondary xml files to
load FROM the main.xml.
I want to then take childNode values from the secondary xml
file and use them within my .swf in text boxes and whatnot.
Any guidance? I think I'm going wrong on the line where I'm
saying "i.newxml.load(i.attributes.location);"
- How can I get this to work?johnypeter:
I tried changing the code inside the loop to use just
"newxml" instead of "i.newxml", and I declared with "var newxml =
new XML();" - was this what you were thinking?
kglad:
The reason I tried to use the loadXML() function in the loop
was so that for each node in my "main.xml" it would load the new
xml file listed - this is a no-no? Do you have any ideas as to what
I could do?
For the for-loop, what should I change in it? I'm not great
with loops so I tried to modify some code from another loop I found
in another forum thread - not the right way to do it here?
Also, what should I trace? The value of the _root.address, or
i.attributes.location? I have created dynamic text boxes on my
stage to see if the correct value from the xml file loads (ie. the
name of the xml file within the xml file) and it does, but now I
don't know how to put that information into ANOTHER loadXML()
function and get the node information from it - does that make
sense???
Below are the examples of the xml files I am using. In the
first one, main.xml, I will have a list of multiple xml files, each
with the same nodes and elements as in the details.xml file
(different values, of course).
This is just to give you an example of what I'm trying to
accomplish - pulling ALL the addresses and phone numbers from
multiple xml files. I cannot manually collect this information, as
it is dynamic, and will be updated in each individual details.xml.
I was hoping to collect the information by simply adding to and
updating ONE xml file - main.xml.
Do you think this can be done? Am I going about it the wrong
way? I'm quite limited in AS knowledge, which is why I'm piecing
together code from other posts! -
Is there a way to run a script to create an RPD file from MDS XML files
We would be interested in using the MDS XML format for the RPD file in saving it in our Subversion source code control system, and I have seen how to do this in the User documentation.
Our question is whether or not there is a way to use a command line tool to recreate the rpd file without having to use the Admin tool, so that we can automate the deployment of the RPD file from source code control to QA and Production environments.
If we check in the RPD file directly, then there is a way to automate the process, but we would prefer to use the MDS XML format since this allows us to save changes in text format, not binary, but we still need to be able to automate the process.
In the Oracle Fusion Middleware XML Schema Reference for Oracle Business Intelligence Enterprise Edition document, I have found that there is a way to automate the creation of the MDS XML files from an RPD file using this command:
biserverxmlgen -M -R repository_pathname [-P password] -D output_directory [-8] [-N] [-Q|-S]
So my question is basically is there a way to reverse this process, to use some command line tool (or Weblogic Scripting or some other mechanism) to create the RPD file from the MDS XML files? Are there options on the biserverxmlexec command that will do what I am asking?Hey dmfairley,
Thanks for the question. You can absolutely export the project as .mp3, as outlined in this resource:
GarageBand Help: Export songs to disk
http://help.apple.com/garageband/mac/10.0/#gbnd7cbf5ed9
Export songs to disk
You can export a project to your computer as a stereo audio file.
Exported files can be reused in GarageBand to save processing resources by replacing or bypassing multiple regions, instruments, and effects. They can also be used with other music applications and devices, posted on the Internet (on a webpage, or in the iTunes Store, for example), added to an iTunes playlist, or uploaded to a mobile device such as iPhone or iPad.
1. Choose Share > Export Song to Disk.
2. To rename the exported file, select the name in the Save As field, then enter a new name.
3. Choose a location to save the exported file from the Where pop-up menu.
4. Select the format for the exported file (AAC, MP3, or AIFF).
5. Choose the quality setting for the exported file from the Quality pop-up menu.
6. Click Export.
Thanks,
Matt M. -
What are the functions of look and feel files?
Hi,
If some one can explain me what are individual role in look and feel of the ISA B2C application.
mainFS.jsp
main_inner.jsp
catalogFS.jsp
accountFS.jsp
refresherB2C.jsp
I want to know function of each files. If I change any file then where exactly I can see changes which I made.
Any help from any one highly appreciated.
Thanks.
AshishHi,
If you get hold of the ISA Development and Extension guide there is a section highlighting which frames go where in the main application.
You can also see which .jsp pages are displayed where by adding the following parameter to the root URL of the application when you logon.
http://<host>:<port>/b2c/b2c/init.do?showmodulename=true
This will display the name of each jsp page in the frames on screen.
Also, surely you must have been asked to change certain aspects of the application - not specific files? You shouldn't just change the files and then "see what happens"...
Hope this helps,
Gareth. -
How to get the weblogic's look and feel?
Have you seen the look and feel of weblogic's 7.0 (or 8.0) workshop.
It's very beautiful!
I want to make a skin like that, then I can skin my application use the
pretty skin, but i can not get the theme of workshop, how can i make it?
reference: www.javootoo.com www.l2fprod.comI beleive 1.4.2 has an automatic upgrade feature that will upgrade people to 1.5 once it is released. The problem is that even though java.sun.com has released 1.5, www.java.com has not, which is where the average person will get Java from.
Another option is to make a custom ButtonUI (other componenets too if u wish) that will use a Gradient to make those 3D looking buttons. If you dig through the Java source, you will see it.
As far as old projects having this look, as soon as 1.5 is on www.java.com, most people will automatically upgrade to it assuming they are running XP. -
Contact Form: How do i create a link from an XML file to another domain to read a PHP File
So i purchased a template from Template Monster and im having a little trouble with the contact form. The server that im uploading it to is a privite server that the company owns. It supports ASP and not PHP. I cant seem to get the ASP form to work so all i want to do it create a link to another one of there servers that supports PHP and have the contact form link to there and read the PHP file (that i will upload to that server) and send the email from there.
This is the XML that i have to fill in in order to make it work
Everything in Red is what i needed to fill out in order for the form to work.
<?xml version="1.0" encoding="utf-8"?>
<!--
Please read this information to learn how to set up the contact form integrated
into the template.
This readme file explains in details the meaning of the settings that can be
done in the fcContactFormConfiguration.xml configuration file.
It is recommended for you to use an XML editor to make changes to this file
because it’s less possible to make an error in the markup which can cause to
a not working contact form.
-->
<contactFormConfiguration>
<!--
An e-mail address which will be used to receive messages from your contact form.
You can specify several e-mail addresses separating them with a comma.
For example: [email protected], [email protected], [email protected]
-->
<emailTo>[email protected]</emailTo>
<!--
A server script type which will process sending e-mails. It depends on your
hosting and in the current version of the contact form it is allowed to use
two types: php (Apache, PHP Hosting); asp (IIS web server, ASP).
-->
<serverProcessorType>php</serverProcessorType>
<!--
A name of the script file which process sending e-mails on your server (without
extension). The name contact is used by default.
-->
<serverProcessorFileName>contact</serverProcessorFileName>
<!--
Set whether to validate only required fields (true/false). The default value is
true which means the not required fields of your contact form will not be validated.
For example if the e-mail field of your form is set as not required (imagine it)
the form will be processed even if the user types in an incorrect e-mail address.
-->
<validateRequiredOnly>false</validateRequiredOnly>
<!--
Set whether to submit the form when the Enter key is pressed even if the focus is
not on the Submit button (true/false).
-->
<submitFormOnEnter>false</submitFormOnEnter>
<!--
Text showing to the user when the form is submitted without any errors.
-->
<messageSentText>Thank you for your message.</messageSentText>
<!--
Text showing in case the form is not submitted because of a server error.
-->
<messageSentFailedText>Sorry, your message couldn't be sent</messageSentFailedText>
<!--
Text your visitor will see while waiting till the processing is over.
-->
<formProcessingText>processing...</formProcessingText>
<!--
Your SMTP server (for ASP only).
-->
<smtpServer>localhost</smtpServer>
<!--
Your SMTP port (for ASP only).
-->
<smtpPort>25</smtpPort>
<!--
Set whether to send the message as a plain text (true) or as HTML (false).
-->
<plainText>false</plainText>
<!--
ID of the input field (in the structure XML file) to use for the “from: ”
or email to use instead (for example: [email protected]).
-->
<emailFromSource>2</emailFromSource>
<!--
Subject of the e-mails that will be sent through this contact form or ID of
the input field (in the structure XML file) to use for the “subject: ” label
in your e-mail client.
-->
<subjectSource>Contact Form from your site</subjectSource>
<!--
Validation error messages that are showing to the user when the form fails to
validate. The form supports different types of validators. You can change the
text of the error messages the validators produce here.
You can use the {LABEL} keyword in these messages. It will replace it with the
label value of the field where an error occurs.
-->
<validationErrorMessages>
<!--
A required field is not filled in.
-->
<message type="fieldIsRequired">{LABEL} is required.</message>
<!--
The specified e-mail address is incorrect.
-->
<message type="emailNotValid">{LABEL} - is not valid email address.</message>
<!--
The specified number of characters in a field is less than a required minimum.
-->
<message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less than a required minimum.</message>
<!--
The specified string does not match with the regular expression.
-->
<message type="reqExpError">{LABEL} - The specified string does not match with the regular expression.</message>
<!--
The specified number is greater than an acceptable biggest number for this field.
-->
<message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable biggest number for this field.</message>
<!--
The specified number is lower than an acceptable lowest number for this field.
-->
<message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable lowest number for this field.</message>
<!--
The data is not a number.
-->
<message type="notANumberError">{LABEL} - The data is not a number.</message>
<!--
The specified number must not be negative.
-->
<message type="negativeError">{LABEL} - The specified number must not be negative.</message>
<!--
The minimum number of variants is not selected
-->
<message type="minRequirementError">{LABEL} - The minimum number of variants is not selected</message>
<!--
The number of variants selected exceeds the maximum
-->
<message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the maximum</message>
<!--
The fields that should be equal do not match
-->
<message type="shouldBeEqualError">{LABEL} - values do not match</message>
<!--
The date has wrong format.
-->
<message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
</validationErrorMessages>
</contactFormConfiguration>
THIS IS THE ACTUAL CONTACT.PHP Form That i would like to link to.
<?php
//-----------------Getting data sent by flash---------------------
foreach ($_POST as $key => $value){
if ($key != 'mail_to' && $key != 'smtp_server' && $key != 'smtp_port' && $key != 'mail_from' && $key != 'mail_subject' && $key != 'plain_text'){
$mail_body .= '<b>'.str_replace('_',' ',$key).'</b>:<br/>';
$mail_body .= ''.stripslashes($value).'<br/>';
$message = '<html><body>'.$mail_body.'</body></html>'; // mail body
//------------if plain text is set to true removing html tags------
if ($_POST['plain_text']=='true') {
$message = str_replace('<br/>',"\r\n", $message);
$message = strip_tags($message);
} else {
//----otherwise composing message headers---------------------------
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n";
//------------setting conf data-------------------------------------
$to = $_POST['mail_to'];
$from = $_POST['mail_from'];
$subject = $_POST['mail_subject'];
$smtp_server = $_POST['smtp_server'];
$smtp_port = $_POST['smtp_port'];
//---------setting header info--------------------------------------
$headers .= 'From:' .$from;
if (mail($to, $subject, $message, $headers)){ // sending mail
print('&mail=1'); //succes
} else {
print('&mail=0');//failure
?>You can open both Muse files at once, copy the content of a page on one site, then paste it into a new page on the other site. You might have to redo some of the page styling.
-
How do you stop your phone from creating two albums with the same photos after syncing?
When I first bought my phone I was able to sync my photos by checking the folder I wanted synced under iTunes. This put all those photos on photo library on my phone. I recently added more photos to that folder and tried to sync them it now put them in the photo library album and also created another album with my folder name. So I have two albums with the same photos. I tried in checking that folder in iTunes and of course they're not in my photo library. Please help. I don't want two albums with the same pics
This is how Apple has always handled photos. nothing has changed at all.
Just as your music is in your library and you can access those exact same songs from a playlist, all of your synced pics are in the Photo Library and those exact same photos (NOT duplicates) can be accessed from the album name that you chose to sync. -
Simply highlighting the songs on iTunes and pressing delete no longer works when I plug my phone in. HELP
Hey Yusef 89,
Thanks for the question. With iOS 7, you can delete a song by doing the following:
Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
via page 62 of the iPhone User Guide for iOS 7
http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
Please note that if you have "Show All Music" enabled in Settings > iTunes & App Store, the above will delete the song from your device, but it will still appear available (with a cloud symbol to re-download).
Thanks,
Matt M. -
hello together,
does anybody know whre i can see the logfiles from an ape with the new airport utility '?You cannot see them because they are not there in AirPort Utility 6.0
You can see them if you download and install AirPort Utility 5.6 for Mac OS X Lion
Keep both AirPort Utility 6.0 and 5.6 on your Mac and use the one that you like. -
I use the SeaMonkey 2.0 mailer for my email client and Firefox 3.6 for my default browser. A link embedded in an email (read with SeaMonkey) opens the SeaMonkey browser and not Firefox. How can I have it open on Firefox?
(SeaMonkey is not set up as the default browser and Firefox is.)See here
*https://support.mozilla.org/en-US/kb/how-make-web-links-open-firefox-default -
How to create a java file from an xml file
anybody who can help me? i'm really trying to get this job in a hurry..thanks
wondering if velocity template engine can help.
a. parse XML
b. construct bean (will XMLBeans help?)
c. write java files (velocity may have helped here) from predefined template.
Looking forward to other suitable solution.
JSP to servlet is, I guess, such example. -
hi ive got 2 iphones and 2 ipads i want to change the apple ids on the ipohne and the ipad , how do i do it thanks
On the ipad that you wish to change the ID:
You can Erase all content and settings - that returns it to the "out of box" condition.
OR
Settings - iCloud - Delete account (It will ask if you want to keep contacts, calendars etc).
Settings - Messages - Tap AppleID - Sign out
Settings - Facetime - Tap AppleID - Sign out
Settings - iTunes and App store, tap apple ID, sign out. -
How to change the default look and feel
Hi.
Does anyone knows how to change the default Caspian look and feel to, for example, Nimbus ?
Or the skin feature turns look and feel setting, as We know in java, unnecessary in javafx ?
I´m using javafx 1.2.
CheersCanspian is not a look&feel, it's a skin.
Look&feel only change the SwingComponent,
regards. -
How to get multiple html output file from an xml document via xslt?
Hi,
the purpose is to generate multiple html output file from one xml file
depending on special tag.
exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
Thanks for helpNot a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
http://saxon.sourceforge.net/ -
Is there any way to generate pdf from an xml file using single java class
i m working on generating a pdf file from an xml file. i want to use only a single java class to do so. if theres any such code available please help me to find out.
Thanks
Gurpreet Singhexactly,
here are some libraries which are open sources;
http://java-source.net/open-source/pdf-libraries hope it's useful. :D
Maybe you are looking for
-
Is there something similar to reflection what we have in Java. Can we create an object of a class given class name only.
-
Hi, I have an RFC to JDBC scenario. I need to make RFC call to DB and using select need to get the DataBase Table Data. I am little bit confused here, Can you please tell me how many data types, Message Types, Msg Mappings, Msg Inetrfaces for that??.
-
Why is it when i send a message to another I Phone user the text does'nt appear in a blue speach bubble when i know for sure the other person has their imessage turned on? Please help this is driving me nuts!!
-
Form screwy in i.e. but fine in FireFox
Frustrating problem... my feedback form shows up fine in FF, but screws up the whole page in i.e. Is there an easy solution? Feedback Form
-
USB ports not working HP Pavilion sleekbook 15-b008ee
i bought a new hard drive and replaced my old one and installed windows 7 instead of windows 8 . all drivers are installed but except this one? IUSB3\ROOT_HUB30&VID_8086&PID_1E31&REV_0004&SID_18FD103C ..please help This question was solved. View Sol