Using parquet-tools I can view header but I dont have a way to edit.
parquet-tools head file.parquet
Do we have a way to edit the header using java code programmatically or using editor?
Parquet files are immutable, so if you need to modify a file you generally need to create a new file with the modifications and replace the old file with it.
Related
I found out, that frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
does control the parts of my bundle-pages that I want to edit. So, alright I could edit this file directly but I learnt, that isn't recommended due to upgradability-problems.
So, what would I alternatively need to do? Do I just need to add a new file
frontend/my_package/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
like this and put all my stuff in there, or do I also need to reference something into my layout within local.xml? How would I do that?
Thanks
So yes simply make this file in your theme and then you can edit it to fit with your design.
The other option which is a bit more complex is to update the template via some layout xml and then this new template will be used and you can add it to the base folder with whatever new path you like. I would suggest that your changes are probably theme specific and so should be made by making the changes in your theme.
I am writing a document for my one application using Sand castle.
It consists of one csproj file in the document source.
I want to link that csproj file with my aml file page.
Does anybody know how can i achieve this?
I want to write a viewer that convert in-design output format to html5 format and all the user design in adobe indesign can display in browser but i do not know which output is suitable for me, i think i can retrieve all info about the adobe indesign in idml export,but the problem is parsing such XML and display the tags in html5 format,i want to know is it possible the simple way to convert the output format into html5?
is it possible to download the adobe indesign SDK and use its method to this purpose?
You can use in5 to export HTML5 (layout intact) from InDesign.
Full disclosure: I am the creator of in5.
Exporting to EPUB would result in XHTML 1.1. The Epub file that InDesign generates is a zip file, in which you will find a number of files. (At least) one of them is an XHTML file.
XHTML 1.1 would surely be an easier source to use than the idml, however you will have to make sure that the ePub export is good enough to start with (the pages won't come out exactly the same as in InDesign).
Would that be a solution?
EPub export is supported from InDesign CS4 (JavaScript based export option, outside the object model, as I understand it and a built-in export option, part of the object model, from CS5).
You don't mention what version of InDesign you are using. CS5, CS5.5 and CS6 all allow you to export to HTML. The problem is that the HTML is version 4 and it create badly written CSS. What I like to do is to use XML to build my own HTML. Just create a set of HTML5 tags you want to use and then Map the existing Paragraph and Character styles to the XML tags.
When you're done you will have a basic content structure. Then I use the Structure pane to add different elements as needed. You can add Parents or children as you need to right there and then export to XML. When you save the file, just change its name to .HTML and edit the code to remove the one reference to "xml".
It takes a little time, but it is very doable.
I am working with Silverlight 4.
I am supposed to display a XSLT inside a Silverlight page as is, read-only.
Which control is best suited for this?
XSLT files are for transforming one file format to another (generally used for taking XML and creating other XML files or HTML pages or human-readable plain-text files out of the input XML). They are not visual documents - what you actually need is to display the result of an XSLT transformation and the control you need for that will depend on what type of file the output of the transformation is (e.g. it could be an HTML file or a text file).
If you can post an example XSLT file you need to use, we might be able to offer more detailed help.
I was wondering (if possible) if there was a program/tool/utility that when I create a new file and provide it with an extension that it creates the appropriate tags automatically?
For example, a new file I create called index.php would have the appropriate tags auto-generated inside:
<?php
?>
I hope you get the idea.
Any information regarding this would be helpful.
I don't know about a portable utility, but on Windows, there's a built-in feature that does it.
From regedit, go to your HKCR/.your-extension (e.g. HKCR/.php). the (Default) value will contain the filetype class - go to either HKCR/.your-extension/the-filetype-class or HKCR/the-filetype-class (either will do), then inside create a key named ShellNew. In the key, create a string value called FileName and assign to it the file path of your template file.
Now all new files with this particular extension will be created containing the contents of your template.
Here's a more detailed tutorial.
If you run Linux with GNOME, maybe http://tombuntu.com/index.php/2008/02/13/add-your-document-templates-to-gnome/ is what you need.
There is probably something similar in other environments.